toLittleEndian
Inserts the given value into the array as a little endian sequence of the given length starting at the given offset.
Parameters
the array to write into
the value to insert
the offset into the array that receives the first byte
the number of bytes to use to represent the value
Provides the given value to the given consumer as a little endian sequence of the given length.
Parameters
the consumer to provide the bytes to
the value to provide
the number of bytes to use to represent the value
Throws
if writing fails
Writes the given value to the given stream as a little endian array of the given length.
Parameters
the output to write to
the value to write
the number of bytes to use to represent the value
Throws
if writing fails
Writes the given value to the given stream as a little endian array of the given length.
Parameters
the stream to write to
the value to write
the number of bytes to use to represent the value
Throws
if writing fails