NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BinaryReader.ReadByte

Reads the next byte from the current stream and advances the current position of the stream by 1 byte.

[Visual Basic]
Overridable Public Function ReadByte() As Byte
[C#]
public virtual byte ReadByte();
[C++]
public: virtual unsigned char ReadByte();
[JScript]
public function ReadByte() : Byte;

Return Value

The next byte read from the current stream.

Exceptions

Exception Type Condition
EndOfStreamException The end of the stream has been reached.
IOException An I/O error occurs.

See Also

BinaryReader Class | BinaryReader Members | System.IO Namespace