-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Labels
enhancementjavaPull requests that update Java codePull requests that update Java codewaiting for next release
Description
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?
Metadata
Metadata
Assignees
Labels
enhancementjavaPull requests that update Java codePull requests that update Java codewaiting for next release