constructor
ArrayBufferSink.constructor
Referenced types
class ArrayBufferSink
Fast incremental writer that becomes an ArrayBuffer on end().
Flush the internal buffer.
- If ArrayBufferSink.start was passed a
streamoption, this returns anArrayBuffer. - If it was passed a
streamoption andasUint8Array, this returns aUint8Array. - Otherwise, this returns the number of bytes written since the last flush.
This API might change later to separate Uint8ArraySink and ArrayBufferSink.
- If ArrayBufferSink.start was passed a