public static long toLong(final byte[] data) {
		return
			((long)data[0] << 56) +
			((long)(data[1] & 255) << 48) +
			((long)(data[2] & 255) << 40) +
			((long)(data[3] & 255) << 32) +
			((long)(data[4] & 255) << 24) +
			((data[5] & 255) << 16) +
			((data[6] & 255) <<  8) +
			(data[7] & 255);
	}
Return the minimum number of bytes to store the given number of bits.

@param bitLength the number of bits
@return the number of bytes needed to store the given number of bits.
jenetics/src/main/java/io/jenetics/internal/util/Bits.java