private void writeUShort ( int pos , int s ) { byte b1 = ( byte ) ( ( s >> 8 ) & 0xff ) ; byte b2 = ( byte ) ( s & 0xff ) ; output [ pos ] = b1 ; output [ pos + 1 ] = b2 ; }
Appends a USHORT to the output array at the given position without changing currentPos