List of utility methods to do Byte Array to Long
long[] | byteToLong(byte[] values) byte To Long if (values == null) { return null; long[] results = new long[values.length]; for (int i = 0; i < values.length; i++) { results[i] = values[i]; return results; ... |
long | byteToLong(final byte[] b) Converts a given byte array to a long value long result = 0; for (int j = 0; j < 8; j++) { result <<= 8; result |= (b[j] & 0xFF); return result; |