kig / DataStream.js

DataStream.js is a library for reading data from ArrayBuffers
173 stars 39 forks source link

writeUint8Array [writeTypeArray] are buggy #11

Closed Pablo76 closed 1 year ago

Pablo76 commented 8 years ago

for some strange reason functions incorrectly assume that arr.byteOffset is 0.

kig commented 8 years ago

Do you have a test case that fails on this (that I could crib & test against)?

I tried to fix this but lacking a test it might or might not work :(