Android Utililty Methods Little Ending to Long Convert

List of utility methods to do Little Ending to Long Convert

Description

The list of methods to do Little Ending to Long Convert are organized into topic(s).

Method

longlittleEndToLong(byte[] array, int start)
Convert byte array in a integral type.
return (((long) (array[start + 7] & 0xFF) << 56)
        | ((long) (array[start + 6] & 0xFF) << 48)
        | ((long) (array[start + 5] & 0xFF) << 40)
        | ((long) (array[start + 4] & 0xFF) << 32)
        | ((long) (array[start + 3] & 0xFF) << 24)
        | ((long) (array[start + 2] & 0xFF) << 16)
        | ((long) (array[start + 1] & 0xFF) << 8) | ((long) (array[start + 0] & 0xFF)));