fromLittleEndian
Reads the given byte array as a little endian long.
Return
the number read
Parameters
the byte array to convert
Reads the given byte array as a little endian long.
Return
the number read
Parameters
the byte array to convert
the offset into the array that starts the value
the number of bytes representing the value
Throws
if len is bigger than eight
Reads the given number of bytes from the given supplier as a little endian long.
Typically used by our InputStreams that need to count the bytes read as well.
Return
the number read
Parameters
the supplier for bytes
the number of bytes representing the value
Throws
if len is bigger than eight
if the supplier fails or doesn't supply the given number of bytes anymore
Reads the given number of bytes from the given input as little endian long.
Return
the number read
Parameters
the input to read from
the number of bytes representing the value
Throws
if len is bigger than eight
if reading fails or the stream doesn't contain the given number of bytes anymore
Reads the given number of bytes from the given stream as a little endian long.
Return
the number read
Parameters
the stream to read from
the number of bytes representing the value
Throws
if len is bigger than eight
if reading fails or the stream doesn't contain the given number of bytes anymore