When jackson-core adds the new variant of writeStartArray, CBOR module should implement it, at least for cases where length is small enough and we can save one byte from encoded length. Ideally we should also verify that actual number of value writes matches to indicated length.
(moved from https://github.com/FasterXML/jackson-dataformat-cbor/issues/1)
When
jackson-core
adds the new variant ofwriteStartArray
, CBOR module should implement it, at least for cases where length is small enough and we can save one byte from encoded length. Ideally we should also verify that actual number of value writes matches to indicated length.