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!

BufferedStream.ReadByte

Reads a byte from the underlying stream. Returns the byte cast to an int or-1 if reading from the end of the stream.

[Visual Basic]
Overrides Public Function ReadByte() As Integer
[C#]
public override int ReadByte();
[C++]
public: override int ReadByte();
[JScript]
public override function ReadByte() : int;

Return Value

The byte cast to an int, or-1 if reading from the end of the stream.

Exceptions

Exception Type Condition
IOException The stream is closed or does not support reading.

See Also

BufferedStream Class | BufferedStream Members | System.IO Namespace