Click or drag to resize

BinaryReaderReadString Method

Reads a string from the current file. The string is prefixed with the length, encoded as an integer seven bits at a time. The file pointer is moved forward the size of the string.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public virtual string ReadString()

Return Value

String
The string read from the file.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the file is reached.
IOExceptionAn I/O error occurred.
ObjectDisposedExceptionThe file is closed.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also