Skip to content

How to performimg cbor Byte(*) ? #173

Description

@dodinhvit23f

Hi guys, I have some problem with deserialize this hex string d8799f5f58403030353438313635393537626166646462653966343837323938383663353864653734393734393539366663653166373137323130623237626466633932326558323166366364356436316337333961643436343931323563613537313736323965363534623636326431376634353963616461ffff and serialize it to cbor. The raw cbor is diffrence so I want to ask that :"How can it perform byte(*) with your lib "

actual data:
d8 79 # tag(121)
9f # array(*)
58 72 # bytes(114)
30303534383136353935376261666464 # "00548165957bafdd"
62653966343837323938383663353864 # "be9f48729886c58d"
65373439373439353936666365316637 # "e749749596fce1f7"
31373231306232376264666339323265 # "17210b27bdfc922e"
31663663643564363163373339616434 # "1f6cd5d61c739ad4"
36343931323563613537313736323965 # "649125ca5717629e"
36353462363632643137663435396361 # "654b662d17f459ca"
6461 # "da"
ff # break

expect data:

d8 79 # tag(121)
9f # array()
5f # bytes(
)
58 40 # bytes(64)
30303534383136353935376261666464 # "00548165957bafdd"
62653966343837323938383663353864 # "be9f48729886c58d"
65373439373439353936666365316637 # "e749749596fce1f7"
31373231306232376264666339323265 # "17210b27bdfc922e"
58 32 # bytes(50)
31663663643564363163373339616434 # "1f6cd5d61c739ad4"
36343931323563613537313736323965 # "649125ca5717629e"
36353462363632643137663435396361 # "654b662d17f459ca"
6461 # "da"
ff # break
ff # brea

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions