Description
In:
byte[] bytes = new byte[8];
input.read( bytes );
return readSwappedLong( bytes, 0 );
There is no check on the int return value from input.read, so it's possible that 8 bytes won't be read.
In:
byte[] bytes = new byte[8];
input.read( bytes );
return readSwappedLong( bytes, 0 );
There is no check on the int return value from input.read, so it's possible that 8 bytes won't be read.