public static long fromBytes(
      byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) {
    return (b1 & 0xFFL) << 56
        | (b2 & 0xFFL) << 48
        | (b3 & 0xFFL) << 40
        | (b4 & 0xFFL) << 32
        | (b5 & 0xFFL) << 24
        | (b6 & 0xFFL) << 16
        | (b7 & 0xFFL) << 8
        | (b8 & 0xFFL);
  }
public static long fromBytes(
      byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) {
    return (b1 & 0xFFL) << 56
        | (b2 & 0xFFL) << 48
        | (b3 & 0xFFL) << 40
        | (b4 & 0xFFL) << 32
        | (b5 & 0xFFL) << 24
        | (b6 & 0xFFL) << 16
        | (b7 & 0xFFL) << 8
        | (b8 & 0xFFL);
  }
public static long fromBytes ( byte b1 , byte b2 , byte b3 , byte b4 , byte b5 , byte b6 , byte b7 , byte b8 ) { return ( b1 & 0xFF L ) << 56 | ( b2 & 0xFF L ) << 48 | ( b3 & 0xFF L ) << 40 | ( b4 & 0xFF L ) << 32 | ( b5 & 0xFF L ) << 24 | ( b6 & 0xFF L ) << 16 | ( b7 & 0xFF L ) << 8 | ( b8 & 0xFF L ) ; }
Returns the {@code long} value whose byte representation is the given 8 bytes, in big-endian
order; equivalent to {@code Longs.fromByteArray(new byte[] {b1, b2, b3, b4, b5, b6, b7, b8})}.

@since 7.0
Returns the { @code long } value whose byte representation is the given 8 bytes in big - endian order ; equivalent to { @code Longs . fromByteArray ( new byte [] { b1 b2 b3 b4 b5 b6 b7 b8 } ) } .