How to get the length of the Buffer in Node.js?
Originally posted here!
To get the length of a Buffer instance in Node.js, you can use the length property in the Buffer instance.
Let's say we have a buffer from the string Hello World! like this,
// Buffer from string Hello World!
const buff = Buf...
melvingeorge-me.hashnode.dev1 min read