Overview | Methods | This Package | All Packages
Reads a null-terminated Unicode string from this stream.
Syntax
public String readStringNull()
Return Value
Returns the string value that was read.
Exceptions
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.
Remarks
This method keeps reading 16-bit Unicode characters from the stream until a null character is read. The characters (excluding the terminating null character) are then converted to a string.
See Also writeStringNull