public final String readUTF() throws IOException {
  return decodeUTF(readUnsignedShort());
}

public final String readUTF ( ) throws IOException { return decodeUTF ( readUnsignedShort ( ) ) ; }
see the general contract of the readutf method of datainput . bytes for this operation are read from the contained input stream .
