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
Povratne informacije
https://aka.ms/ContentUserFeedback.
Kmalu na voljo: V letu 2024 bomo ukinili storitev Težave v storitvi GitHub kot mehanizem za povratne informacije za vsebino in jo zamenjali z novim sistemom za povratne informacije. Za več informacij si oglejte:Pošlji in prikaži povratne informacije za