Expand description
Node.js Buffer shim — pure-JS implementation for the QuickJS extension runtime.
Provides a Buffer class that extends Uint8Array with Node.js-compatible
encoding/decoding (utf8, base64, hex, ascii, latin1), static factory methods
(from, alloc, concat, isBuffer, byteLength), and instance methods
(toString, write, slice, copy, compare, equals, indexOf,
includes, fill, toJSON).
Constants§
- NODE_
BUFFER_ JS - The JS source for the
node:buffervirtual module.