This has been fixed since. I don't know when. I have Node 9.3 and it
produces a Buffer.
On Tue, Jan 2, 2018 at 4:18 PM, Stephen James wrote:
> Using electron I am trying to write out some bytes on a TCP socket. I am
> using Buffer.from to convert to buffer before calling
Using electron I am trying to write out some bytes on a TCP socket. I am
using Buffer.from to convert to buffer before calling write, but am still
getting the above error. I have simplified it down to just creating an
empty ArrayBuffer and calling Buffer.from
var abuff = new ArrayBuffer(8 +