public static void writeInt64 ( final long value , final byte [ ] buffer , int offset ) { buffer [ offset ++ ] = ( byte ) ( value >>> 56 ) ; buffer [ offset ++ ] = ( byte ) ( value >>> 48 ) ; buffer [ offset ++ ] = ( byte ) ( value >>> 40 ) ; buffer [ offset ++ ] = ( byte ) ( value >>> 32 ) ; buffer [ offset ++ ] = ( byte ) ( value >>> 24 ) ; buffer [ offset ++ ] = ( byte ) ( value >>> 16 ) ; buffer [ offset ++ ] = ( byte ) ( value >>> 8 ) ; buffer [ offset ] = ( byte ) ( value >>> 0 ) ; }
Writes the 64 - bit int into the buffer starting with the most significant byte .