code: @Override
    public void writeShort(int v) throws IOException {
      out.write(0xFF & v);
      out.write(0xFF & (v >> 8));
    }
docs: 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