private static void putLong ( byte [ ] array , long l , int pos , int numberOfLongBytes ) { for ( int i = 0 ; i < numberOfLongBytes ; ++ i ) { array [ pos + numberOfLongBytes - i - 1 ] = ( byte ) ( l >>> ( i * 8 ) ) ; } }
Puts the lower numberOfLongBytes from l into the array starting index pos .