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

Fills the buffer with the specified number of bytes read from the stream.

[Visual Basic]
Overridable Protected Sub FillBuffer( _
   ByVal numBytes As Integer _
)
[C#]
protected virtual void FillBuffer(
   int numBytes
);
[C++]
protected: virtual void FillBuffer(
   int numBytes
);
[JScript]
protected function FillBuffer(
   numBytes : int
);

Parameters

numBytes
The number of bytes.

Exceptions

Exception Type Condition
EndOfStreamException The end of the stream is reached.
IOException The stream is a null reference (in Visual Basic Nothing) or closed.

See Also

BinaryReader Class | BinaryReader Members | System.IO Namespace