Reads a signed byte from this stream and advances the current position of the stream by one byte.
[Visual Basic] Overridable Public Function ReadSByte() As SByte [C#] public virtual sbyte ReadSByte(); [C++] public: virtual char ReadSByte(); [JScript] public function ReadSByte() : SByte;
A signed byte read from the current stream.
Exception Type | Condition |
---|---|
EndOfStreamException | The end of the stream has been reached. |
IOException | An I/O error occurs. |
BinaryReader Class | BinaryReader Members | System.IO Namespace