Open natevw opened 10 years ago
var b = Buffer(1), n = -2147483648; b.writeUInt32BE(n, 0, true); console.log("0x%s should be 0x80", b[0].toString(16));
node.js:
0x80 should be 0x80
colony:
Tessel (hardware):
0x0 should be 0x80
One workaround would be to >>> 0 all potentially-negative writes.
>>> 0
node.js:
colony:
Tessel (hardware):
One workaround would be to
>>> 0
all potentially-negative writes.