GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing masteringjs.io — Get the Length of a Buffer in Node.js
☰
Get the Length of a Buffer in Node.js
Aug 19, 2020
Node.js buffers are objects that store arbitrary binary data. Buffers have a
For buffers containing UTF8 encoded strings, the buffer's length is equivalent to the length of the string. For
example, if you read a text file from the file system using
Allocated vs ActualNote that For example, if you allocate a 100-byte buffer using
Did you find this tutorial useful? Say thanks by starring our repo on GitHub!
More Node Tutorials
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |