You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just updated ByteBuffer.js to allow wrapping of node.js Buffer objects. Please try it out (BB v1.3.4) and let me know if it fixes your issue. You will need to run npm update once.
/usr/local/share/npm/lib/node_modules/bytebuffer/ByteBuffer.js:59
this.view = this.array != null ? new DataView(this.array) : null;
^
RangeError: byteOffset out of range.
at new ByteBuffer (/usr/local/share/npm/lib/node_modules/bytebuffer/ByteBuffer.js:59:63)
Hi. I have a question
I'm trying to use ProtoBuf.js for socket communication
Dgram socket only accepts Buffer object.
So I used toBuffer() method followed by encode() method to convert
However, I don't know reversal process.
I tried many methods but could not get original json object
Thanks a lot for your work
The text was updated successfully, but these errors were encountered: