Reader. Fill Buffer(Int32) Method
Fills the internal buffer with the specified number of bytes read from the stream.
protected: virtual void FillBuffer(int numBytes);
protected virtual void FillBuffer (int numBytes);
abstract member FillBuffer : int -> unit override this.FillBuffer : int -> unit
Protected Overridable Sub FillBuffer (numBytes As Integer)
The number of bytes to be read.
The end of the stream is reached before
numBytes could be read.
An I/O error occurred.
numBytes is larger than the internal buffer size.
The internal buffer size is the larger value between 16 and the value returned by GetMaxByteCount for the specified encoding.
For a list of common I/O tasks, see Common I/O Tasks.