public void writeShort ( final int value , final JBBPByteOrder byteOrder ) throws IOException { if ( byteOrder == JBBPByteOrder . BIG_ENDIAN ) { this . write ( value >>> 8 ) ; this . write ( value ) ; } else { this . write ( value ) ; this . write ( value >>> 8 ) ; } }
Write a signed short value into the output stream .