code: public static long bytesToLong(byte[] bytes) {
  		// Magic number 8 should be defined as Long.SIZE / Byte.SIZE
  		long values = 0;
  		for (int i = 0; i < 8; i++) {
  			values <<= 8;
  			values |= (bytes[i] & 0xff);
  		}
  		return values;
  	}
docs: byte数组转long<br>
  from: https://stackoverflow.com/questions/4485128/how-do-i-convert-long-to-byte-and-back-in-java
  
  @param bytes byte数组
  @return long值
  @since 3.2.0