Buffer not accessible using the index position
lauriro opened this issue · comments
Lauri Rooden commented
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
Lauri Rooden commented
Duplicate of #628 opened on 16 Feb 2017