encodeCborParts
encodeCborParts(
value):Uint8Array<ArrayBufferLike>[]
Defined in: packages/format-cbor/src/binary/encoder.ts:167
Encodes a DataValue to the chunks it is built from, without the final concatenation.
Every nested item already appends its own chunk, so a caller writing to a vectored sink can hand these straight over instead of paying a copy to join them and another to split them again.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Uint8Array<ArrayBufferLike>[]