Buffer
Buffer objects are used to represent a fixed-length sequence of bytes. They extends Uint8Array and you can often use them interchangeably with some APIs.
Allocate n bytes
Snippet below allocates 1024
bytes:
Buffer objects are used to represent a fixed-length sequence of bytes. They extends Uint8Array and you can often use them interchangeably with some APIs.
Snippet below allocates 1024
bytes: