public final int readUnsignedShort() throws java.io.IOException {
  return ((int)readShort()) & 0xffff;
}

public final int readUnsignedShort ( ) throws java . io . IOException { return ( ( int ) readShort ( ) ) & 0xffff ; }
see the general contract of the readunsignedshort method of datainput . bytes for this operation are read from the contained input stream .
