/** * Reads a UTF format String from this Stream. * * @return the next UTF String from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ @Override public final String readUTF() throws IOException { return decodeUTF(readUnsignedShort()); }
/** * Reads a UTF format String from this Stream. * * @return the next UTF String from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ @Override public final String readUTF() throws IOException { return decodeUTF(readUnsignedShort()); }
break; case 10: int actualUS = in.readUnsignedShort(); assertTrue(actualUS >= 0); assertTrue(actualUS <= 0xFFFF);
/** * Reads a UTF format String from this Stream. * * @return the next UTF String from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ public final String readUTF() throws IOException { return decodeUTF(readUnsignedShort()); }
/** * Reads a UTF format String from this Stream. * * @return the next UTF String from the source stream. * * @throws IOException * If a problem occurs reading from this DataInputStream. * */ @Override public final String readUTF() throws IOException { return decodeUTF(readUnsignedShort()); }