Const
Returns a new Output
that appends bytes to a growable array,
pre-allocated with space for initialCapacity
bytes, if initialCapacity
is defined, using the given settings
, if settings
is defined. The
returned Output
accepts an unbounded number of bytes, remaining
permanently in the cont state, and can [[Output.bind bind]] a
Uint8Array
with the current output state at any time.
Optional
initialCapacity: numberOptional
settings: OutputSettingsLikeReturns a new Output
that appends bytes to a growable array,
pre-allocated with space for initialCapacity
bytes, if initialCapacity
is defined, using the given settings
, if settings
is defined. The
returned Output
accepts an unbounded number of bytes, remaining
permanently in the cont state, and can [[Output.bind bind]] a
Uint8Array
with the current output state at any time.
Optional
offset: numberOptional
length: numberGenerated using TypeDoc
Byte [[Input]]/[[Output]] factory.
The
Binary.outputBuffer(...)
function returns anOutput
that writes bytes to a growable array, and [[Output.bind binds]] aUint8Array
containing all written bytes.