Open dev-zetta opened 5 years ago
From the code, it seems that the server sends an ArrayBuffer. See https://github.com/lance-gg/lance/blob/f38918d332eb5ddad691e4b30b20728f25e967d9/src/serialize/Serializable.js#L54
Maybe socket.io changed the data type, or this is an electron issue?
There is a bug in method handleInboundMessage in ClientEngine.
The DataView expects a ArrayBuffer, but plain Buffer is passed in constructor. The workaround is to override handleInboundMessage in ClientEngine and convert the buffer to ArrayBuffer :
This works. However is quite inefficient IMHO. Any chance to fix this any soon? Running in Electron 3.X.