René's URL Explorer Experiment


Title: Buffer | Node.js 24.15.0 Documentation

Open Graph Title: Buffer | Node.js 24.15.0 Documentation

Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

Open Graph Description: Node.js® is a free, open-source, cross-platform JavaScript runtime environment that lets developers create servers, web apps, command line tools and scripts.

direct link

Domain: nodejs-api-docs-tooling.vercel.app

og:typewebsite
og:imagehttps://nodejs.org/en/next-data/og/announcement/Node.js — Run JavaScript Everywhere

Links:

https://nodejs-api-docs-tooling.vercel.app/
https://github.com/nodejs/node
Indexhttps://nodejs-api-docs-tooling.vercel.app/index.html
Usage and examplehttps://nodejs-api-docs-tooling.vercel.app/synopsis.html
About this documentationhttps://nodejs-api-docs-tooling.vercel.app/documentation.html
Asserthttps://nodejs-api-docs-tooling.vercel.app/assert.html
Async hookshttps://nodejs-api-docs-tooling.vercel.app/async_hooks.html
Asynchronous context trackinghttps://nodejs-api-docs-tooling.vercel.app/async_context.html
Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html
C++ addonshttps://nodejs-api-docs-tooling.vercel.app/addons.html
C++ embedder APIhttps://nodejs-api-docs-tooling.vercel.app/embedding.html
Child processhttps://nodejs-api-docs-tooling.vercel.app/child_process.html
Clusterhttps://nodejs-api-docs-tooling.vercel.app/cluster.html
Command-line APIhttps://nodejs-api-docs-tooling.vercel.app/cli.html
Consolehttps://nodejs-api-docs-tooling.vercel.app/console.html
Cryptohttps://nodejs-api-docs-tooling.vercel.app/crypto.html
Debuggerhttps://nodejs-api-docs-tooling.vercel.app/debugger.html
Deprecated APIshttps://nodejs-api-docs-tooling.vercel.app/deprecations.html
Diagnostic reporthttps://nodejs-api-docs-tooling.vercel.app/report.html
Diagnostics Channelhttps://nodejs-api-docs-tooling.vercel.app/diagnostics_channel.html
DNShttps://nodejs-api-docs-tooling.vercel.app/dns.html
Domainhttps://nodejs-api-docs-tooling.vercel.app/domain.html
DTLShttps://nodejs-api-docs-tooling.vercel.app/dtls.html
Environment Variableshttps://nodejs-api-docs-tooling.vercel.app/environment_variables.html
Errorshttps://nodejs-api-docs-tooling.vercel.app/errors.html
Eventshttps://nodejs-api-docs-tooling.vercel.app/events.html
FFIhttps://nodejs-api-docs-tooling.vercel.app/ffi.html
File systemhttps://nodejs-api-docs-tooling.vercel.app/fs.html
Global objectshttps://nodejs-api-docs-tooling.vercel.app/globals.html
HTTPhttps://nodejs-api-docs-tooling.vercel.app/http.html
HTTP/2https://nodejs-api-docs-tooling.vercel.app/http2.html
HTTPShttps://nodejs-api-docs-tooling.vercel.app/https.html
Inspectorhttps://nodejs-api-docs-tooling.vercel.app/inspector.html
Internationalization supporthttps://nodejs-api-docs-tooling.vercel.app/intl.html
Iterable Streamshttps://nodejs-api-docs-tooling.vercel.app/stream_iter.html
Modules: `node:module` APIhttps://nodejs-api-docs-tooling.vercel.app/module.html
Modules: CommonJS moduleshttps://nodejs-api-docs-tooling.vercel.app/modules.html
Modules: ECMAScript moduleshttps://nodejs-api-docs-tooling.vercel.app/esm.html
Modules: Packageshttps://nodejs-api-docs-tooling.vercel.app/packages.html
Modules: TypeScripthttps://nodejs-api-docs-tooling.vercel.app/typescript.html
Nethttps://nodejs-api-docs-tooling.vercel.app/net.html
Node-APIhttps://nodejs-api-docs-tooling.vercel.app/n-api.html
OShttps://nodejs-api-docs-tooling.vercel.app/os.html
Pathhttps://nodejs-api-docs-tooling.vercel.app/path.html
Performance measurement APIshttps://nodejs-api-docs-tooling.vercel.app/perf_hooks.html
Permissionshttps://nodejs-api-docs-tooling.vercel.app/permissions.html
Processhttps://nodejs-api-docs-tooling.vercel.app/process.html
Punycodehttps://nodejs-api-docs-tooling.vercel.app/punycode.html
Query stringhttps://nodejs-api-docs-tooling.vercel.app/querystring.html
QUIChttps://nodejs-api-docs-tooling.vercel.app/quic.html
Readlinehttps://nodejs-api-docs-tooling.vercel.app/readline.html
REPLhttps://nodejs-api-docs-tooling.vercel.app/repl.html
Single executable applicationshttps://nodejs-api-docs-tooling.vercel.app/single-executable-applications.html
SQLitehttps://nodejs-api-docs-tooling.vercel.app/sqlite.html
Streamhttps://nodejs-api-docs-tooling.vercel.app/stream.html
String decoderhttps://nodejs-api-docs-tooling.vercel.app/string_decoder.html
Test runnerhttps://nodejs-api-docs-tooling.vercel.app/test.html
Timershttps://nodejs-api-docs-tooling.vercel.app/timers.html
TLS (SSL)https://nodejs-api-docs-tooling.vercel.app/tls.html
Trace eventshttps://nodejs-api-docs-tooling.vercel.app/tracing.html
TTYhttps://nodejs-api-docs-tooling.vercel.app/tty.html
UDP/datagram socketshttps://nodejs-api-docs-tooling.vercel.app/dgram.html
URLhttps://nodejs-api-docs-tooling.vercel.app/url.html
Utilhttps://nodejs-api-docs-tooling.vercel.app/util.html
V8https://nodejs-api-docs-tooling.vercel.app/v8.html
Virtual File Systemhttps://nodejs-api-docs-tooling.vercel.app/vfs.html
VM (executing JavaScript)https://nodejs-api-docs-tooling.vercel.app/vm.html
Web Crypto APIhttps://nodejs-api-docs-tooling.vercel.app/webcrypto.html
Web Streams APIhttps://nodejs-api-docs-tooling.vercel.app/webstreams.html
WebAssembly System Interface (WASI)https://nodejs-api-docs-tooling.vercel.app/wasi.html
Worker threadshttps://nodejs-api-docs-tooling.vercel.app/worker_threads.html
Zlibhttps://nodejs-api-docs-tooling.vercel.app/zlib.html
Indexhttps://nodejs-api-docs-tooling.vercel.app/index.html
Usage and examplehttps://nodejs-api-docs-tooling.vercel.app/synopsis.html
About this documentationhttps://nodejs-api-docs-tooling.vercel.app/documentation.html
Asserthttps://nodejs-api-docs-tooling.vercel.app/assert.html
Async hookshttps://nodejs-api-docs-tooling.vercel.app/async_hooks.html
Asynchronous context trackinghttps://nodejs-api-docs-tooling.vercel.app/async_context.html
Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html
C++ addonshttps://nodejs-api-docs-tooling.vercel.app/addons.html
C++ embedder APIhttps://nodejs-api-docs-tooling.vercel.app/embedding.html
Child processhttps://nodejs-api-docs-tooling.vercel.app/child_process.html
Clusterhttps://nodejs-api-docs-tooling.vercel.app/cluster.html
Command-line APIhttps://nodejs-api-docs-tooling.vercel.app/cli.html
Consolehttps://nodejs-api-docs-tooling.vercel.app/console.html
Cryptohttps://nodejs-api-docs-tooling.vercel.app/crypto.html
Debuggerhttps://nodejs-api-docs-tooling.vercel.app/debugger.html
Deprecated APIshttps://nodejs-api-docs-tooling.vercel.app/deprecations.html
Diagnostic reporthttps://nodejs-api-docs-tooling.vercel.app/report.html
Diagnostics Channelhttps://nodejs-api-docs-tooling.vercel.app/diagnostics_channel.html
DNShttps://nodejs-api-docs-tooling.vercel.app/dns.html
Domainhttps://nodejs-api-docs-tooling.vercel.app/domain.html
DTLShttps://nodejs-api-docs-tooling.vercel.app/dtls.html
Environment Variableshttps://nodejs-api-docs-tooling.vercel.app/environment_variables.html
Errorshttps://nodejs-api-docs-tooling.vercel.app/errors.html
Eventshttps://nodejs-api-docs-tooling.vercel.app/events.html
FFIhttps://nodejs-api-docs-tooling.vercel.app/ffi.html
File systemhttps://nodejs-api-docs-tooling.vercel.app/fs.html
Global objectshttps://nodejs-api-docs-tooling.vercel.app/globals.html
HTTPhttps://nodejs-api-docs-tooling.vercel.app/http.html
HTTP/2https://nodejs-api-docs-tooling.vercel.app/http2.html
HTTPShttps://nodejs-api-docs-tooling.vercel.app/https.html
Inspectorhttps://nodejs-api-docs-tooling.vercel.app/inspector.html
Internationalization supporthttps://nodejs-api-docs-tooling.vercel.app/intl.html
Iterable Streamshttps://nodejs-api-docs-tooling.vercel.app/stream_iter.html
Modules: `node:module` APIhttps://nodejs-api-docs-tooling.vercel.app/module.html
Modules: CommonJS moduleshttps://nodejs-api-docs-tooling.vercel.app/modules.html
Modules: ECMAScript moduleshttps://nodejs-api-docs-tooling.vercel.app/esm.html
Modules: Packageshttps://nodejs-api-docs-tooling.vercel.app/packages.html
Modules: TypeScripthttps://nodejs-api-docs-tooling.vercel.app/typescript.html
Nethttps://nodejs-api-docs-tooling.vercel.app/net.html
Node-APIhttps://nodejs-api-docs-tooling.vercel.app/n-api.html
OShttps://nodejs-api-docs-tooling.vercel.app/os.html
Pathhttps://nodejs-api-docs-tooling.vercel.app/path.html
Performance measurement APIshttps://nodejs-api-docs-tooling.vercel.app/perf_hooks.html
Permissionshttps://nodejs-api-docs-tooling.vercel.app/permissions.html
Processhttps://nodejs-api-docs-tooling.vercel.app/process.html
Punycodehttps://nodejs-api-docs-tooling.vercel.app/punycode.html
Query stringhttps://nodejs-api-docs-tooling.vercel.app/querystring.html
QUIChttps://nodejs-api-docs-tooling.vercel.app/quic.html
Readlinehttps://nodejs-api-docs-tooling.vercel.app/readline.html
REPLhttps://nodejs-api-docs-tooling.vercel.app/repl.html
Single executable applicationshttps://nodejs-api-docs-tooling.vercel.app/single-executable-applications.html
SQLitehttps://nodejs-api-docs-tooling.vercel.app/sqlite.html
Streamhttps://nodejs-api-docs-tooling.vercel.app/stream.html
String decoderhttps://nodejs-api-docs-tooling.vercel.app/string_decoder.html
Test runnerhttps://nodejs-api-docs-tooling.vercel.app/test.html
Timershttps://nodejs-api-docs-tooling.vercel.app/timers.html
TLS (SSL)https://nodejs-api-docs-tooling.vercel.app/tls.html
Trace eventshttps://nodejs-api-docs-tooling.vercel.app/tracing.html
TTYhttps://nodejs-api-docs-tooling.vercel.app/tty.html
UDP/datagram socketshttps://nodejs-api-docs-tooling.vercel.app/dgram.html
URLhttps://nodejs-api-docs-tooling.vercel.app/url.html
Utilhttps://nodejs-api-docs-tooling.vercel.app/util.html
V8https://nodejs-api-docs-tooling.vercel.app/v8.html
Virtual File Systemhttps://nodejs-api-docs-tooling.vercel.app/vfs.html
VM (executing JavaScript)https://nodejs-api-docs-tooling.vercel.app/vm.html
Web Crypto APIhttps://nodejs-api-docs-tooling.vercel.app/webcrypto.html
Web Streams APIhttps://nodejs-api-docs-tooling.vercel.app/webstreams.html
WebAssembly System Interface (WASI)https://nodejs-api-docs-tooling.vercel.app/wasi.html
Worker threadshttps://nodejs-api-docs-tooling.vercel.app/worker_threads.html
Zlibhttps://nodejs-api-docs-tooling.vercel.app/zlib.html
Buffers and character encodingshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-character-encodings
Buffers and TypedArrayshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-typedarrays
Buffer methods are callable with Uint8Array instanceshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer-methods-are-callable-with-uint8array-instances
Buffers and iterationhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-iteration
Blobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
new buffer.Blobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferblobsources-options
blob.arrayBufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobarraybuffer
blob.byteshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobbytes
blob.sizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobsize
blob.slicehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobslicestart-end-type
blob.streamhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobstream
blob.texthttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtext
blob.textStreamhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtextstream
blob.typehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtype
Blob objects and MessageChannelhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blob-objects-and-messagechannel
Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.allochttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafeSlowhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
Buffer.byteLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferbytelengthstring-encoding
Buffer.comparehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercomparebuf1-buf2
Buffer.concathttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferconcatlist-totallength
Buffer.copyBytesFromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercopybytesfromview-offset-length
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer.isBufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferisbufferobj
Buffer.isEncodinghttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferisencodingencoding
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
buf[index]https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindex
buf.bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbuffer
buf.byteOffsethttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbyteoffset
buf.comparehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcomparetarget-targetstart-targetend-sourcestart-sourceend
buf.copyhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcopytarget-targetstart-sourcestart-sourceend
buf.entrieshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufentries
buf.equalshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufequalsotherbuffer
buf.fillhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
buf.includeshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufincludesvalue-start-end-encoding
buf.indexOfhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindexofvalue-start-end-encoding
buf.keyshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufkeys
buf.lastIndexOfhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflastindexofvalue-start-end-encoding
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
buf.parenthttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufparent
buf.readBigInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbigint64beoffset
buf.readBigInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbigint64leoffset
buf.readBigUInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbiguint64beoffset
buf.readBigUInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbiguint64leoffset
buf.readDoubleBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaddoublebeoffset
buf.readDoubleLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaddoubleleoffset
buf.readFloatBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadfloatbeoffset
buf.readFloatLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadfloatleoffset
buf.readInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint8offset
buf.readInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint16beoffset
buf.readInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint16leoffset
buf.readInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint32beoffset
buf.readInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint32leoffset
buf.readIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadintbeoffset-bytelength
buf.readIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadintleoffset-bytelength
buf.readUInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint8offset
buf.readUInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint16beoffset
buf.readUInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint16leoffset
buf.readUInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint32beoffset
buf.readUInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint32leoffset
buf.readUIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduintbeoffset-bytelength
buf.readUIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduintleoffset-bytelength
buf.subarrayhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufsubarraystart-end
buf.slicehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufslicestart-end
buf.swap16https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap16
buf.swap32https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap32
buf.swap64https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap64
buf.toJSONhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buftojson
buf.toStringhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buftostringencoding-start-end
buf.valueshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufvalues
buf.writehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritestring-offset-length-encoding
buf.writeBigInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebigint64bevalue-offset
buf.writeBigInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebigint64levalue-offset
buf.writeBigUInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebiguint64bevalue-offset
buf.writeBigUInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebiguint64levalue-offset
buf.writeDoubleBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritedoublebevalue-offset
buf.writeDoubleLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritedoublelevalue-offset
buf.writeFloatBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritefloatbevalue-offset
buf.writeFloatLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritefloatlevalue-offset
buf.writeInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint8value-offset
buf.writeInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint16bevalue-offset
buf.writeInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint16levalue-offset
buf.writeInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint32bevalue-offset
buf.writeInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint32levalue-offset
buf.writeIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteintbevalue-offset-bytelength
buf.writeIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteintlevalue-offset-bytelength
buf.writeUInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint8value-offset
buf.writeUInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint16bevalue-offset
buf.writeUInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint16levalue-offset
buf.writeUInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint32bevalue-offset
buf.writeUInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint32levalue-offset
buf.writeUIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuintbevalue-offset-bytelength
buf.writeUIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuintlevalue-offset-bytelength
new Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferarray
Filehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-file
new buffer.Filehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferfilesources-filename-options
file.namehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#filename
file.lastModifiedhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#filelastmodified
buffer module APIshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#nodebuffer-module-apis
buffer.atobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferatobdata
buffer.btoahttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferbtoadata
buffer.isAsciihttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferisasciiinput
buffer.isUtf8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferisutf8input
buffer.INSPECT_MAX_BYTEShttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferinspect_max_bytes
buffer.kMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkmaxlength
buffer.kStringMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkstringmaxlength
buffer.resolveObjectURLhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferresolveobjecturlid
buffer.transcodehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffertranscodesource-fromenc-toenc
Buffer constantshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer-constants
Buffer.from(), Buffer.alloc(), and Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferfrom-bufferalloc-and-bufferallocunsafe
--zero-fill-buffershttps://nodejs-api-docs-tooling.vercel.app/buffer.html#-zero-fill-buffers-command-line-option
What makes Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() "unsafe"?https://nodejs-api-docs-tooling.vercel.app/buffer.html#what-makes-bufferallocunsafe-and-bufferallocunsafeslow-unsafe
Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer
lib/buffer.jshttps://github.com/nodejs/node/blob/main/lib/buffer.js
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
Buffers and character encodingshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-character-encodings
Introduced base64url encoding.v15.7.0, v14.18.0https://github.com/nodejs/node/pull/36952
Introduced latin1 as an alias for binary.v6.4.0https://github.com/nodejs/node/pull/7111
Removed the deprecated raw and raws encodings.v5.0.0https://github.com/nodejs/node/pull/2859
UTF-8https://en.wikipedia.org/wiki/UTF-8
little-endianhttps://en.wikipedia.org/wiki/Endianness
UTF-16https://en.wikipedia.org/wiki/UTF-16
ISO-8859-1https://en.wikipedia.org/wiki/ISO-8859-1
Base64https://en.wikipedia.org/wiki/Base64
RFC 4648, Section 5https://tools.ietf.org/html/rfc4648#section-5
base64urlhttps://tools.ietf.org/html/rfc4648#section-5
RFC 4648, Section 5https://tools.ietf.org/html/rfc4648#section-5
ASCIIhttps://en.wikipedia.org/wiki/ASCII
WHATWG Encoding Standardhttps://encoding.spec.whatwg.org/
Buffers and TypedArrayshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-typedarrays
The Buffer class now inherits from Uint8Array.v3.0.0https://github.com/nodejs/node/pull/2002
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
TypedArray.prototype.slice()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/slice
Buffer.prototype.slice()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufslicestart-end
TypedArray.prototype.subarray()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray
Buffer.prototype.slice()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufslicestart-end
buf.toString()https://nodejs-api-docs-tooling.vercel.app/buffer.html#buftostringencoding-start-end
buf.indexOf()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindexofvalue-byteoffset-encoding
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
Buffer.from()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
TypedArray.from()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
TypedArray.from(source[, mapFn[, thisArg]])https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/from
Buffer.from(array)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer.from(buffer)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfrombuffer
Buffer.from(arrayBuffer[, byteOffset[, length]])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length
Buffer.from(string[, encoding])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Buffer methods are callable with Uint8Array instanceshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer-methods-are-callable-with-uint8array-instances
Buffers and iterationhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-iteration
buf.values()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufvalues
buf.keys()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufkeys
buf.entries()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufentries
Blobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
No longer experimental.v18.0.0, v16.17.0https://github.com/nodejs/node/pull/41270
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
buffer.Blob Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferblobsources-options
Added the standard endings option to replace line-endings, and removed the non-standard encoding option.v16.7.0https://github.com/nodejs/node/pull/39708
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
blob.arrayBufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobarraybuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
blob.byteshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobbytes
blob.sizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobsize
blob.slicehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobslicestart-end-type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
blob.streamhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobstream
https://nodejs-api-docs-tooling.vercel.app/webstreams.html#class-readablestream
blob.texthttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtext
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
blob.textStreamhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtextstream
https://nodejs-api-docs-tooling.vercel.app/webstreams.html#class-readablestream
blob.stream()https://nodejs-api-docs-tooling.vercel.app/buffer.html#blobstream
TextDecoderStreamhttps://nodejs-api-docs-tooling.vercel.app/webstreams.html#class-textdecoderstream
blob.typehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtype
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
Blob objects and MessageChannelhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blob-objects-and-messagechannel
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.allochttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Throw ERR_INVALID_ARG_TYPE or ERR_OUT_OF_RANGE instead of ERR_INVALID_ARG_VALUE for invalid input arguments.v20.0.0https://github.com/nodejs/node/pull/45796
Throw ERR_INVALID_ARG_VALUE instead of ERR_INVALID_OPT_VALUE for invalid input arguments.v15.0.0https://github.com/nodejs/node/pull/34682
Attempting to fill a non-zero length buffer with a zero length buffer triggers a thrown exception.v10.0.0https://github.com/nodejs/node/pull/18129
Specifying an invalid string for fill triggers a thrown exception.v10.0.0https://github.com/nodejs/node/pull/17427
Specifying an invalid string for fill now results in a zero-filled buffer.v8.9.3https://github.com/nodejs/node/pull/17428
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
buffer.constants.MAX_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_length
ERR_OUT_OF_RANGEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_out_of_range
buf.fill(fill)https://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
buf.fill(fill, encoding)https://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
Buffer.alloc()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Throw ERR_INVALID_ARG_TYPE or ERR_OUT_OF_RANGE instead of ERR_INVALID_ARG_VALUE for invalid input arguments.v20.0.0https://github.com/nodejs/node/pull/45796
Throw ERR_INVALID_ARG_VALUE instead of ERR_INVALID_OPT_VALUE for invalid input arguments.v15.0.0https://github.com/nodejs/node/pull/34682
Passing a negative size will now throw an error.v7.0.0https://github.com/nodejs/node/pull/7079
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
buffer.constants.MAX_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_length
ERR_OUT_OF_RANGEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_out_of_range
Buffer.alloc()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.from(array)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer.from(string)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Buffer.concat()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferconcatlist-totallength
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafeSlowhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
Throw ERR_INVALID_ARG_TYPE or ERR_OUT_OF_RANGE instead of ERR_INVALID_ARG_VALUE for invalid input arguments.v20.0.0https://github.com/nodejs/node/pull/45796
Throw ERR_INVALID_ARG_VALUE instead of ERR_INVALID_OPT_VALUE for invalid input arguments.v15.0.0https://github.com/nodejs/node/pull/34682
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
buffer.constants.MAX_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_length
ERR_OUT_OF_RANGEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_out_of_range
buf.fill(0)https://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.byteLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferbytelengthstring-encoding
Passing invalid input will now throw an error.v7.0.0https://github.com/nodejs/node/pull/8946
The string parameter can now be any TypedArray, DataView or ArrayBuffer.v5.10.0https://github.com/nodejs/node/pull/5255
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
String.prototype.lengthhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/length
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
Buffer.comparehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercomparebuf1-buf2
The arguments can now be Uint8Arrays.v8.0.0https://github.com/nodejs/node/pull/10236
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.compare()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcomparetarget-targetstart-targetend-sourcestart-sourceend
buf1.compare(buf2)https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcomparetarget-targetstart-targetend-sourcestart-sourceend
Buffer.concathttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferconcatlist-totallength
The elements of list can now be Uint8Arrays.v8.0.0https://github.com/nodejs/node/pull/10236
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.copyBytesFromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercopybytesfromview-offset-length
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.copyBytesFrom()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercopybytesfromview-offset-length
Buffer.from(string)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfrombuffer
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromobject-offsetorencoding-length
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.from(string)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.isBufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferisbufferobj
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#boolean_type
Buffer.isEncodinghttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferisencodingencoding
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#boolean_type
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
Default raised from 8192 to 65536.v26.3.0, v24.18.0https://github.com/nodejs/node/pull/63597
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf[index]https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindex
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
buf.byteOffsethttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbyteoffset
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.comparehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcomparetarget-targetstart-targetend-sourcestart-sourceend
The target parameter can now be a Uint8Array.v8.0.0https://github.com/nodejs/node/pull/10236
Additional parameters for specifying offsets are supported now.v5.11.0https://github.com/nodejs/node/pull/5880
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
ERR_OUT_OF_RANGEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_out_of_range
buf.copyhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcopytarget-targetstart-sourcestart-sourceend
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
TypedArray.prototype.set()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/set
buf.entrieshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufentries
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator
iteratorhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
buf.equalshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufequalsotherbuffer
The arguments can now be Uint8Arrays.v8.0.0https://github.com/nodejs/node/pull/10236
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#boolean_type
buf.compare(otherBuffer) === 0https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcomparetarget-targetstart-targetend-sourcestart-sourceend
buf.fillhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
Throws ERR_OUT_OF_RANGE instead of ERR_INDEX_OUT_OF_RANGE.v11.0.0https://github.com/nodejs/node/pull/22969
Negative end values throw an ERR_INDEX_OUT_OF_RANGE error.v10.0.0https://github.com/nodejs/node/pull/18790
Attempting to fill a non-zero length buffer with a zero length buffer triggers a thrown exception.v10.0.0https://github.com/nodejs/node/pull/18129
Specifying an invalid string for value triggers a thrown exception.v10.0.0https://github.com/nodejs/node/pull/17427
The encoding parameter is supported now.v5.7.0https://github.com/nodejs/node/pull/4935
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
buf.includeshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufincludesvalue-start-end-encoding
Added the end parameter.v26.1.0https://github.com/nodejs/node/pull/62390
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#boolean_type
buf.indexOf() !== -1https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindexofvalue-byteoffset-encoding
buf.indexOfhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindexofvalue-start-end-encoding
Added the end parameter.v26.1.0https://github.com/nodejs/node/pull/62390
The value can now be a Uint8Array.v8.0.0https://github.com/nodejs/node/pull/10236
When encoding is being passed, the byteOffset parameter is no longer required.v5.7.0, v4.4.0https://github.com/nodejs/node/pull/4803
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
buf.subarrayhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufsubarraystart-end
String.prototype.indexOf()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/indexOf
buf.keyshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufkeys
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator
iteratorhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
buf.lastIndexOfhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflastindexofvalue-start-end-encoding
Added the end parameter.v26.1.0https://github.com/nodejs/node/pull/62390
The value can now be a Uint8Array.v8.0.0https://github.com/nodejs/node/pull/10236
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.indexOf()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindexofvalue-byteoffset-encoding
String.prototype.lastIndexOf()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/lastIndexOf
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.parenthttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufparent
buf.bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbuffer
buf.readBigInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbigint64beoffset
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
buf.readBigInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbigint64leoffset
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
buf.readBigUInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbiguint64beoffset
This function is also available as buf.readBigUint64BE().v14.10.0, v12.19.0https://github.com/nodejs/node/pull/34960
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
buf.readBigUInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbiguint64leoffset
This function is also available as buf.readBigUint64LE().v14.10.0, v12.19.0https://github.com/nodejs/node/pull/34960
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
buf.readDoubleBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaddoublebeoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readDoubleLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaddoubleleoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readFloatBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadfloatbeoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readFloatLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadfloatleoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint8offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint16beoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint16leoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint32beoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint32leoffset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadintbeoffset-bytelength
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadintleoffset-bytelength
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint8offset
This function is also available as buf.readUint8().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint16beoffset
This function is also available as buf.readUint16BE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint16leoffset
This function is also available as buf.readUint16LE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint32beoffset
This function is also available as buf.readUint32BE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint32leoffset
This function is also available as buf.readUint32LE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduintbeoffset-bytelength
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
This function is also available as buf.readUintBE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.readUIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduintleoffset-bytelength
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
This function is also available as buf.readUintLE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.subarrayhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufsubarraystart-end
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
TypedArray.prototype.subarray()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/subarray
buf.slicehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufslicestart-end
The buf.slice() method has been deprecated.v17.5.0, v16.15.0https://github.com/nodejs/node/pull/41596
Coercing the offsets to integers now handles values outside the 32-bit integer range properly.v7.1.0, v6.9.2https://github.com/nodejs/node/pull/9341
All offsets are now coerced to integers before doing any calculations with them.v7.0.0https://github.com/nodejs/node/pull/9101
buf.subarrayhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufsubarraystart-end
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
buf.swap16https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap16
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
ERR_INVALID_BUFFER_SIZEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_invalid_buffer_size
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
buf.swap32https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap32
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
ERR_INVALID_BUFFER_SIZEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_invalid_buffer_size
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
buf.swap64https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap64
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
ERR_INVALID_BUFFER_SIZEhttps://nodejs-api-docs-tooling.vercel.app/errors.html#err_invalid_buffer_size
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
buf.toJSONhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buftojson
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
JSON.stringify()https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify
buf.toStringhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buftostringencoding-start-end
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
buffer.constants.MAX_STRING_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_string_length
buf.valueshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufvalues
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Iterator
iteratorhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols
buf.writehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritestring-offset-length-encoding
supports Uint8Array as this value.v25.5.0, v24.13.1https://github.com/nodejs/node/pull/56578
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeBigInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebigint64bevalue-offset
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeBigInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebigint64levalue-offset
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeBigUInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebiguint64bevalue-offset
This function is also available as buf.writeBigUint64BE().v14.10.0, v12.19.0https://github.com/nodejs/node/pull/34960
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeBigUInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebiguint64levalue-offset
This function is also available as buf.writeBigUint64LE().v14.10.0, v12.19.0https://github.com/nodejs/node/pull/34960
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#bigint_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeDoubleBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritedoublebevalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeDoubleLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritedoublelevalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeFloatBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritefloatbevalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeFloatLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritefloatlevalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint8value-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint16bevalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint16levalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint32bevalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint32levalue-offset
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteintbevalue-offset-bytelength
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteintlevalue-offset-bytelength
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint8value-offset
This function is also available as buf.writeUint8().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint16bevalue-offset
This function is also available as buf.writeUint16BE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint16levalue-offset
This function is also available as buf.writeUint16LE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint32bevalue-offset
This function is also available as buf.writeUint32BE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint32levalue-offset
This function is also available as buf.writeUint32LE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuintbevalue-offset-bytelength
This function is also available as buf.writeUintBE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buf.writeUIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuintlevalue-offset-bytelength
This function is also available as buf.writeUintLE().v14.9.0, v12.19.0https://github.com/nodejs/node/pull/34729
Removed noAssert and no implicit coercion of the offset and byteLength to uint32 anymore.v10.0.0https://github.com/nodejs/node/pull/18395
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
Buffer Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferarray
Calling this constructor emits a deprecation warning when run from code outside the node_modules directory.v10.0.0https://github.com/nodejs/node/pull/19524
Calling this constructor no longer emits a deprecation warning.v7.2.1https://github.com/nodejs/node/pull/9529
Calling this constructor emits a deprecation warning now.v7.0.0https://github.com/nodejs/node/pull/8169
Buffer.from(array)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
Buffer.from(array)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferarraybuffer-byteoffset-length
Calling this constructor emits a deprecation warning when run from code outside the node_modules directory.v10.0.0https://github.com/nodejs/node/pull/19524
Calling this constructor no longer emits a deprecation warning.v7.2.1https://github.com/nodejs/node/pull/9529
Calling this constructor emits a deprecation warning now.v7.0.0https://github.com/nodejs/node/pull/8169
The byteOffset and length parameters are supported now.v6.0.0https://github.com/nodejs/node/pull/4682
Buffer.from(arrayBuffer[, byteOffset[, length]])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
Buffer.from(arrayBuffer[, byteOffset[, length]])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length
Buffer Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferbuffer
Calling this constructor emits a deprecation warning when run from code outside the node_modules directory.v10.0.0https://github.com/nodejs/node/pull/19524
Calling this constructor no longer emits a deprecation warning.v7.2.1https://github.com/nodejs/node/pull/9529
Calling this constructor emits a deprecation warning now.v7.0.0https://github.com/nodejs/node/pull/8169
Buffer.from(buffer)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfrombuffer
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
Buffer.from(buffer)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfrombuffer
Buffer Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-buffersize
Calling this constructor emits a deprecation warning when run from code outside the node_modules directory.v10.0.0https://github.com/nodejs/node/pull/19524
The new Buffer(size) will return zero-filled memory by default.v8.0.0https://github.com/nodejs/node/pull/12141
Calling this constructor no longer emits a deprecation warning.v7.2.1https://github.com/nodejs/node/pull/9529
Calling this constructor emits a deprecation warning now.v7.0.0https://github.com/nodejs/node/pull/8169
Buffer.alloc()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
Buffer.alloc()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.alloc()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferstring-encoding
Calling this constructor emits a deprecation warning when run from code outside the node_modules directory.v10.0.0https://github.com/nodejs/node/pull/19524
Calling this constructor no longer emits a deprecation warning.v7.2.1https://github.com/nodejs/node/pull/9529
Calling this constructor emits a deprecation warning now.v7.0.0https://github.com/nodejs/node/pull/8169
Buffer.from(string[, encoding])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
Buffer.from(string[, encoding])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Filehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-file
Makes File instances cloneable.v23.0.0https://github.com/nodejs/node/pull/47613
No longer experimental.v20.0.0https://github.com/nodejs/node/pull/47153
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-file
buffer.File Constructorhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferfilesources-filename-options
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-file
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/DataView
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-file
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
file.namehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#filename
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
file.lastModifiedhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#filelastmodified
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
node:buffer module APIshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#nodebuffer-module-apis
buffer.atobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferatobdata
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#Data_types
sourcehttps://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa
buffer.btoahttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferbtoadata
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#Data_types
sourcehttps://github.com/nodejs/userland-migrations/tree/main/recipes/buffer-atob-btoa
buffer.isAsciihttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferisasciiinput
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#boolean_type
buffer.isUtf8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferisutf8input
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/TypedArray
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#boolean_type
buffer.INSPECT_MAX_BYTEShttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferinspect_max_bytes
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
util.inspect()https://nodejs-api-docs-tooling.vercel.app/util.html#utilinspectobject-options
buffer.kMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkmaxlength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buffer.constants.MAX_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_length
buffer.kStringMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkstringmaxlength
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
buffer.constants.MAX_STRING_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_string_length
buffer.resolveObjectURLhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferresolveobjecturlid
Marking the API stable.v24.0.0, v22.17.0https://github.com/nodejs/node/pull/57513
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
buffer.transcodehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffertranscodesource-fromenc-toenc
The source parameter can now be a Uint8Array.v8.0.0https://github.com/nodejs/node/pull/10236
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#string_type
https://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer constantshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer-constants
buffer.constants.MAX_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_length
Value is changed to 253 - 1 on 64-bit architectures, and 231 - 1 on 32-bit architectures.v22.0.0https://github.com/nodejs/node/pull/52465
Value is changed to 232 on 64-bit architectures.v15.0.0https://github.com/nodejs/node/pull/35415
Value is changed from 231 - 1 to 232 - 1 on 64-bit architectures.v14.0.0https://github.com/nodejs/node/pull/32116
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
Number.MAX_SAFE_INTEGERhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER
v8::Uint8Array::kMaxLengthhttps://v8.github.io/api/head/classv8_1_1Uint8Array.html#a7677e3d0c9c92e4d40bef7212f5980c6
buffer.kMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkmaxlength
buffer.constants.MAX_STRING_LENGTHhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferconstantsmax_string_length
https://developer.mozilla.org/docs/Web/JavaScript/Data_structures#number_type
Buffer.from(), Buffer.alloc(), and Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferfrom-bufferalloc-and-bufferallocunsafe
buf.fill(0)https://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer
Buffer.alloc()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.from(array)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer.from(arrayBuffer[, byteOffset[, length]])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarraybuffer-byteoffset-length
https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer
Buffer.from(buffer)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfrombuffer
Buffer.from(string[, encoding])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Buffer.alloc(size[, fill[, encoding]])https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafe(size)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafe(size)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafeSlow(size)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.from(string)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromstring-encoding
Buffer.concat()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferconcatlist-totallength
Buffer.from(array)https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
Buffer.allocUnsafeSlow()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
The --zero-fill-buffers command-line optionhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#-zero-fill-buffers-command-line-option
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafeSlow()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
What makes Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() "unsafe"?https://nodejs-api-docs-tooling.vercel.app/buffer.html#what-makes-bufferallocunsafe-and-bufferallocunsafeslow-unsafe
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafeSlow()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
JSONhttps://nodejs-api-docs-tooling.vercel.app/buffer.json
MDhttps://nodejs-api-docs-tooling.vercel.app/buffer.md
Edit this pagehttps://github.com/nodejs/node/edit/HEAD/doc/api/buffer.md
Buffers and character encodingshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-character-encodings
Buffers and TypedArrayshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-typedarrays
Buffer methods are callable with Uint8Array instanceshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer-methods-are-callable-with-uint8array-instances
Buffers and iterationhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffers-and-iteration
Blobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-blob
new buffer.Blobhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferblobsources-options
blob.arrayBufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobarraybuffer
blob.byteshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobbytes
blob.sizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobsize
blob.slicehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobslicestart-end-type
blob.streamhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobstream
blob.texthttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtext
blob.textStreamhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtextstream
blob.typehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blobtype
Blob objects and MessageChannelhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#blob-objects-and-messagechannel
Bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-buffer
Buffer.allochttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocsize-fill-encoding
Buffer.allocUnsafehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafesize
Buffer.allocUnsafeSlowhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferallocunsafeslowsize
Buffer.byteLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferbytelengthstring-encoding
Buffer.comparehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercomparebuf1-buf2
Buffer.concathttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferconcatlist-totallength
Buffer.copyBytesFromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-buffercopybytesfromview-offset-length
Buffer.fromhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferfromarray
Buffer.isBufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferisbufferobj
Buffer.isEncodinghttps://nodejs-api-docs-tooling.vercel.app/buffer.html#static-method-bufferisencodingencoding
Buffer.poolSizehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferpoolsize
buf[index]https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindex
buf.bufferhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbuffer
buf.byteOffsethttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufbyteoffset
buf.comparehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcomparetarget-targetstart-targetend-sourcestart-sourceend
buf.copyhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufcopytarget-targetstart-sourcestart-sourceend
buf.entrieshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufentries
buf.equalshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufequalsotherbuffer
buf.fillhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffillvalue-offset-end-encoding
buf.includeshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufincludesvalue-start-end-encoding
buf.indexOfhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufindexofvalue-start-end-encoding
buf.keyshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufkeys
buf.lastIndexOfhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflastindexofvalue-start-end-encoding
buf.lengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buflength
buf.parentDhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufparent
buf.readBigInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbigint64beoffset
buf.readBigInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbigint64leoffset
buf.readBigUInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbiguint64beoffset
buf.readBigUInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadbiguint64leoffset
buf.readDoubleBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaddoublebeoffset
buf.readDoubleLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaddoubleleoffset
buf.readFloatBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadfloatbeoffset
buf.readFloatLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadfloatleoffset
buf.readInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint8offset
buf.readInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint16beoffset
buf.readInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint16leoffset
buf.readInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint32beoffset
buf.readInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadint32leoffset
buf.readIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadintbeoffset-bytelength
buf.readIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreadintleoffset-bytelength
buf.readUInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint8offset
buf.readUInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint16beoffset
buf.readUInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint16leoffset
buf.readUInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint32beoffset
buf.readUInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduint32leoffset
buf.readUIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduintbeoffset-bytelength
buf.readUIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufreaduintleoffset-bytelength
buf.subarrayhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufsubarraystart-end
buf.sliceDhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufslicestart-end
buf.swap16https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap16
buf.swap32https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap32
buf.swap64https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufswap64
buf.toJSONhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buftojson
buf.toStringhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buftostringencoding-start-end
buf.valueshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufvalues
buf.writehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritestring-offset-length-encoding
buf.writeBigInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebigint64bevalue-offset
buf.writeBigInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebigint64levalue-offset
buf.writeBigUInt64BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebiguint64bevalue-offset
buf.writeBigUInt64LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritebiguint64levalue-offset
buf.writeDoubleBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritedoublebevalue-offset
buf.writeDoubleLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritedoublelevalue-offset
buf.writeFloatBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritefloatbevalue-offset
buf.writeFloatLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwritefloatlevalue-offset
buf.writeInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint8value-offset
buf.writeInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint16bevalue-offset
buf.writeInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint16levalue-offset
buf.writeInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint32bevalue-offset
buf.writeInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteint32levalue-offset
buf.writeIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteintbevalue-offset-bytelength
buf.writeIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteintlevalue-offset-bytelength
buf.writeUInt8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint8value-offset
buf.writeUInt16BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint16bevalue-offset
buf.writeUInt16LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint16levalue-offset
buf.writeUInt32BEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint32bevalue-offset
buf.writeUInt32LEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuint32levalue-offset
buf.writeUIntBEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuintbevalue-offset-bytelength
buf.writeUIntLEhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufwriteuintlevalue-offset-bytelength
new BufferDhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferarray
Filehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#class-file
new buffer.Filehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#new-bufferfilesources-filename-options
file.namehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#filename
file.lastModifiedhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#filelastmodified
buffer module APIshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#nodebuffer-module-apis
buffer.atobLhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferatobdata
buffer.btoaLhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferbtoadata
buffer.isAsciihttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferisasciiinput
buffer.isUtf8https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferisutf8input
buffer.INSPECT_MAX_BYTEShttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferinspect_max_bytes
buffer.kMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkmaxlength
buffer.kStringMaxLengthhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferkstringmaxlength
buffer.resolveObjectURLhttps://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferresolveobjecturlid
buffer.transcodehttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffertranscodesource-fromenc-toenc
Buffer constantshttps://nodejs-api-docs-tooling.vercel.app/buffer.html#buffer-constants
Buffer.from(), Buffer.alloc(), and Buffer.allocUnsafe()https://nodejs-api-docs-tooling.vercel.app/buffer.html#bufferfrom-bufferalloc-and-bufferallocunsafe
--zero-fill-buffershttps://nodejs-api-docs-tooling.vercel.app/buffer.html#-zero-fill-buffers-command-line-option
What makes Buffer.allocUnsafe() and Buffer.allocUnsafeSlow() "unsafe"?https://nodejs-api-docs-tooling.vercel.app/buffer.html#what-makes-bufferallocunsafe-and-bufferallocunsafeslow-unsafe

Viewport: width=device-width,initial-scale=1.0


URLs of crawlers that visited me.