How to check if two buffers are equal in Node.js?
Originally posted here!
To check whether 2 Buffer instances are equal, We can use the equals() method in the Buffer Instance in Node.js.
Let's say we have 2 buffers, one made from the string Hello World and another buffer made from Hex code 48656c6c...
melvingeorge-me.hashnode.dev2 min read