Creates the Uint8ArrayWriter instance
OptionaldefaultBufferSize: numberThe initial size of the internal buffer (default: 256KB).
Retrieves all the written data
A promise resolving to the written data.
OptionalinitInitializes the instance asynchronously
Optionalsize: numberthe total size of the written data in bytes.
Appends a chunk of data
The chunk data to append.
Represents a Writer instance used to retrieve the written data as a
Uint8Arrayinstance.