Fazecast/jSerialComm

wite/read bytes - long vs int

ctadlock opened this issue · 1 comments

You can write and read a long amount of data, but it will return an int for bytes written. An overflow waiting to happen. Likely nobody has ever tried writing that much data.

image

Good catch - a fix has been checked in that ensures that the bytesToWrite and return type are now the same.