protected void writeShort(int value) throws IOException {
  out.write(value & 0xff);
  out.write((value >> 8) & 0xff);
}

protected void writeShort ( int value ) throws IOException { out . write ( value & 0xff ) ; out . write ( ( value > > 8 ) & 0xff ) ; }
write 16 - bit value to output stream , lsb first
