We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Quite a few embedded libraries do not like indefinite-sized CBOR maps (or arrays for that matter).
For demonstration, I created a map with:
new CborEncoder(baos).encode(new CborBuilder() .startMap(4) .put("Timestamp", 123456789) .end() .build()
and the resulting map is:
BF # map(*) 69 # text(9) 54696D657374616D70 # "Timestamp" 1A 075BCD15 # unsigned(123456789)
Is there a way to assemble a map that has a specified length in the end result?
The text was updated successfully, but these errors were encountered:
Problem: #123
0ef74dc
Solution: add methods to create a non-chunked map
Hi @Avamander, is commit 0ef74dc what you are looking for?
Sorry, something went wrong.
It probably is if you're proposing it 😅 as you know your library and CBOR much better.
I could test it out specifically if at some point you'd make a release with the change incorporated, I don't know how to build this library myself.
No branches or pull requests
Quite a few embedded libraries do not like indefinite-sized CBOR maps (or arrays for that matter).
For demonstration, I created a map with:
and the resulting map is:
Is there a way to assemble a map that has a specified length in the end result?
The text was updated successfully, but these errors were encountered: