Reads a null-terminated ANSI string from this stream.
public String readStringNullAnsi()
Returns the string value that was read.
IOException thrown if an I/O error occurs or if the stream does not support reading.
EOFException thrown if the end of the stream is reached while reading the string.
This method keeps reading bytes from the stream until a null byte is read. The bytes (excluding the closing null byte) are then converted to a string using the system's default code page.
See Also writeStringNullAnsi