-
Notifications
You must be signed in to change notification settings - Fork 16
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
FormatException: Expected at most one CBOR value. #53
Comments
cc @shamblett |
From the looks of it, this package does not support decoding of nested CBOR. Nested structures need to be handled recursively, is it possible to achieve that with this package? |
Sorry Ive just noticed this issue, I'll have a look at it. |
Are you sure your CBOR bytes are correct, your bytes above in hex are -
If you run this through CBOR playground, you get this error -
If you can transalte thsi using another tool please do so and show me the output, thanks. |
Sorry for late reply, but it's already resolved with your package. It was a dag-cbor and I just had to add additional info like below Thanks for your great work! |
Hi,
I wanted to decode CBOR with this package, but it throws FormatException.
This is what I wanted to decode.
And this is what data I checked at
values
ofstartChunkedConversion(ChunkedConversionSink.withCallback((values) {
The text was updated successfully, but these errors were encountered: