public static void writeInt16LE ( final int value , final byte [ ] buffer , int offset ) { buffer [ offset ++ ] = ( byte ) value ; buffer [ offset ] = ( byte ) ( ( value >>> 8 ) & 0xFF ) ; }
Writes the 16 - bit int into the buffer starting with the least significant byte .