Example usage for Java org.apache.commons.lang3 Conversion fields, constructors, methods, implement or subclass
The text is from its open source code.
long | byteArrayToLong(final byte[] src, final int srcPos, final long dstInit, final int dstPos, final int nBytes) Converts an array of byte into a long using the default (little endian, Lsb0) byte and bit ordering. |
byte[] | longToByteArray(final long src, final int srcPos, final byte[] dst, final int dstPos, final int nBytes) Converts a long into an array of byte using the default (little endian, Lsb0) byte and bit ordering. |