BinaryReader.Read7BitEncodedInt 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.
Reads in a 32-bit integer in compressed format.
protected public:
int Read7BitEncodedInt();
public:
int Read7BitEncodedInt();
protected:
int Read7BitEncodedInt();
protected internal int Read7BitEncodedInt ();
public int Read7BitEncodedInt ();
protected int Read7BitEncodedInt ();
member this.Read7BitEncodedInt : unit -> int
Protected Friend Function Read7BitEncodedInt () As Integer
Public Function Read7BitEncodedInt () As Integer
Protected Function Read7BitEncodedInt () As Integer
Returns
A 32-bit integer in compressed format.
Exceptions
The end of the stream is reached.
The stream is closed.
An I/O error occurred.
The stream is corrupted.
Remarks
BinaryReader does not restore the file position after an unsuccessful read.
If the integer will fit in seven bits, the integer takes only one byte of space. The integer is expected to have been written through BinaryWriter.Write7BitEncodedInt.
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