AbstractOptionalchunkSize: 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 used section of the chunk to the handler.
AbstracthandleA 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. WARNING: Does not perform proper locking so expect issues with parallel async calls!