@Override
  public void writeShort(int v) throws IOException {
    out.write(0xFF & v);
    out.write(0xFF & (v >> 8));
  }
@Override
  public void writeShort(int v) throws IOException {
    out.write(0xFF & v);
    out.write(0xFF & (v >> 8));
  }
@ Override public void writeShort ( int v ) throws IOException { out . write ( 0xFF & v ) ; out . write ( 0xFF & ( v >> 8 ) ) ; }
Writes a {@code short} as specified by {@link DataOutputStream#writeShort(int)}, except using
little-endian byte order.

@throws IOException if an I/O error occurs
Writes a { @code short } as specified by { @link DataOutputStream#writeShort ( int ) } except using little - endian byte order .