How to read a single bit buffer in node like -
<Buffer 00>
Usage - To read the Boolean value stored in SQL table
You can access it by using Buffer API of nodejs
if we assume a is the variable having the above value, it can converted to int in node using following:
var value = a.readUIntLE()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With