includes/org/apache/poi/util/LittleEndian.java
public static void putShort(byte[] data, int offset, short value) {
        int i = offset;
        data[i++] = (byte)((value >>>  0) & 0xFF);
        data[i++] = (byte)((value >>>  8) & 0xFF);
    }
/**
     *  put a short value into a byte array
     *
     *@param  data    the byte array
     *@param  offset  a starting offset into the byte array
     *@param  value   the short (16-bit) value
     */
put a short value into a byte array

@param  data    the byte array
@param  offset  a starting offset into the byte array
@param  value   the short (16-bit) value
put a short value into a byte array @param data the byte array @param offset a starting offset into the byte array @param value the short ( 16 - bit ) value
public static void putShort(byte[] data, int offset, short value) {
        int i = offset;
        data[i++] = (byte)((value >>>  0) & 0xFF);
        data[i++] = (byte)((value >>>  8) & 0xFF);
    }
public static void putShort ( byte [ ] data , int offset , short value ) { int i = offset ; data [ i ++ ] = ( byte ) ( ( value >>> 0 ) & 0xFF ) ; data [ i ++ ] = ( byte ) ( ( value >>> 8 ) & 0xFF ) ; }
put a short value into a byte array
put a short value into a byte array