includes/org/apache/poi/util/LittleEndian.java
public static void putLong(byte[] data, int offset, long value) {
        int limit = LONG_SIZE + offset;
        long v = value;
        
        for (int j = offset; j < limit; j++) {
            data[j] = (byte) (v & 0xFF);
            v >>= 8;
        }
    }
/**
     *  put a long value into a byte array
     *
     *@param  data    the byte array
     *@param  offset  a starting offset into the byte array
     *@param  value   the long (64-bit) value
     */
put a long value into a byte array

@param  data    the byte array
@param  offset  a starting offset into the byte array
@param  value   the long (64-bit) value
put a long value into a byte array @param data the byte array @param offset a starting offset into the byte array @param value the long ( 64 - bit ) value
public static void putLong(byte[] data, int offset, long value) {
        int limit = LONG_SIZE + offset;
        long v = value;
        for (int j = offset; j < limit; j++) {
            data[j] = (byte) (v & 0xFF);
            v >>= 8;
        }
    }
public static void putLong ( byte [ ] data , int offset , long value ) { int limit = LONG_SIZE + offset ; long v = value ; for ( int j = offset ; j < limit ; j ++ ) { data [ j ] = ( byte ) ( v & 0xFF ) ; v >>= 8 ; } }
put a long value into a byte array
put a long value into a byte array