-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to performimg cbor Byte(*) ? #173
Labels
Comments
@dodinhvit23f could you please send a PR with a failing unit test? |
@c-rack Thanks, here is the test, I think we should have some class with tag to represent byte with Infinite length
|
@dodinhvit23f thanks, could you please send a PR (pull request) with the failing unit test? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: