File SystemBinary Data
Convert a Buffer to a blob
A Blob can be constructed from an array of "chunks", where each chunk is a string, binary data structure (including Buffer ), or another Blob .
Convert a Buffer to an ArrayBuffer
The Node.js Buffer class views and manipulates data in an underlying ArrayBuffer . The buffer property returns that ArrayBuffer .
Convert a Buffer to a Uint8Array
The Node.js Buffer class extends Uint8Array , so no conversion is needed. All properties and methods on Uint8Array are available on Buffer .