OptionalchunkSize: number = 2000The size of a chunk. May be changed later.
Get the currently buffered data. Useful for custom logic
The size of the buffer. NOT the size that we are allocating for new chunks.
The size that the newly allocated buffers should be. Set with .resize
Flush the currently buffered data to the output. Replaced by .flushUsed
Flush the used section of the chunk to the handler.
A listener for a change in the length of the transformer's internal buffer
Change the chunk size of the buffer
The chunk size
Write a Uint8Array or array
The data to write
Take a non-uniform-size stream of Uint8Arrays, and join them together into uniform size Uint8Arrays. Calls a callback when a chunk is full or flush is called, in both cases with the data