Was very confused on what to use!
- File: Like a Blob, but with additional file-specific properties (e.g., filename).
- ArrayBuffer: Fixed-length raw binary data in JavaScript, not directly accessible.
- Uint8Array: Interface for reading/writing binary data in ArrayBuffer, showing them as 8-bit unsigned integers.
- Buffer: Readable/writable raw binary data container in Node.js (subclass of Uint8Array)
[1] https://github.com/tc39/proposal-resizablearraybuffer
Was very confused on what to use!