Reads a byte from the file and advances the read position one byte.

Namespace: VcClient.Test
Assembly: VcClient (in VcClient.dll) Version: 1.0.0.0 (1.8.400.4142)

Syntax

C#
public override int ReadByte()
Visual Basic
Public Overrides Function ReadByte As Integer
Visual C++
public:
virtual int ReadByte() override

Return Value

The byte, cast to an System.Int32, or -1 if the end of the stream has been reached.

Exceptions

ExceptionCondition
ObjectDisposedExceptionThe current stream is closed.

See Also