List of utility methods to do Byte to Little Endian
int | byteToIntBigend(byte[] bytes) byte To Int Bigend int length = 4; int intValue = 0; for (int i = 0; i < length; i++) { int offset = (length - i - 1) * 8; intValue |= (bytes[i] & 0xFF) << offset; return intValue; |