public static String readNullTerminatedString ( InputStream in ) throws IOException , EOFException { return readNullTerminatedString ( ( DataInput ) new DataInputStream ( in ) ) ; }
Reads a null - terminated string of bytes from the specified input stream .