Closed lauriro closed 3 years ago
buf.js
var buf = Buffer.from("ab") console.log("Buf", buf[1], buf.readUInt8(1))
$ node buf.js Buf 98 98 $ iotjs buf.js Buf undefined 98
Duplicate of #628 opened on 16 Feb 2017
buf.js