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 );
Exception Type | Condition |
---|---|
EndOfStreamException | The end of the stream is reached. |
IOException | The stream is a null reference (in Visual Basic Nothing) or closed. |
BinaryReader Class | BinaryReader Members | System.IO Namespace