Re:RFC 7049 - Concise Binary Object Representation (CBOR)
by mwcremer on Tuesday October 29, 2013 @12:03PM
(#6635144)
I think the thinking here is that the sender may not be able to compute the byte size of the object a priori. Think HTTP chunked encoding.
[ Parent
| on HN ]
Re:RFC 7049 - Concise Binary Object Representation (CBOR)
by ghoul2 on Tuesday October 29, 2013 @01:58PM
(#6636171)
I understand that is a concern in many situations. The problem here though is that you don't get the "streaming" benefits in any case: you still have to include the length-in-number-of-items of the compound type and the lengths of each individual member item in any case.