Java Utililty Methods Binary to Long

List of utility methods to do Binary to Long

Description

The list of methods to do Binary to Long are organized into topic(s).

Method

longbin2long(byte[] array, int offset)
binlong
return ((array[offset + 0] & 0xffL) << 56) + ((array[offset + 1] & 0xffL) << 48)
        + ((array[offset + 2] & 0xffL) << 40) + ((array[offset + 3] & 0xffL) << 32)
        + ((array[offset + 4] & 0xffL) << 24) + ((array[offset + 5] & 0xffL) << 16)
        + ((array[offset + 6] & 0xffL) << 8) + (array[offset + 7] & 0xffL);