Buffer (Node.js)

A Buffer is a Node.js object for handling raw binary data — bytes — outside the V8 heap. It is used for file contents, network packets, and any binary I/O…