Click or drag to resize
BinaryReaderReadSByte Method
Reads a signed byte from this stream and advances the current position of the stream by one byte.

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

Return Value

Type: SByte
A signed byte read from the current stream.
Exceptions
ExceptionCondition
EndOfStreamExceptionThe end of the stream is reached.
ObjectDisposedExceptionThe stream is closed.
IOExceptionAn I/O error occurs.
See Also