BinaryReader.FillBuffer(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
Parameters
- numBytes
- Int32
The number of bytes to be read.
Exceptions
The end of the stream is reached before numBytes
could be read.
An I/O error occurred.
Requested numBytes
is larger than the internal buffer size.
Remarks
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.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om