Click or drag to resize

BinaryReaderReadBoolean Method

Reads a boolean value from the file at the current position and advances the file pointer by one byte.

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

Return Value

Boolean
True if the byte is nonzero.
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