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.ReadInt32

Reads a 4-byte signed integer from the current stream and advances the current position of the stream by 4 bytes.

[Visual Basic]
Overridable Public Function ReadInt32() As Integer
[C#]
public virtual int ReadInt32();
[C++]
public: virtual int ReadInt32();
[JScript]
public function ReadInt32() : int;

Return Value

A 4-byte signed integer 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