File SystemBinary Data
Convert a Blob to a string
The Blob class provides several methods for consuming its contents in different formats, including .text() .
Convert a Buffer to a ReadableStream
The naive approach to creating a ReadableStream from a Buffer is to use the ReadableStream constructor and enqueue the entire array as a single chunk. For a
Convert a Blob to an ArrayBuffer
The Blob class provides several methods for consuming its contents in different formats, including .arrayBuffer() .