Click or drag to resize
BinaryReaderReadString Method
Reads a string from the current stream. The string is prefixed with the length, encoded as an integer seven bits at a time.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual string ReadString()

Return Value

Type: String
The string being read.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the stream is reached.
ObjectDisposedExceptionThe stream is closed.
IOExceptionAn I/O error occurs.
See Also