[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Reads in a 32-bit integer in compressed format.
protected internal int Read7BitEncodedInt()
Type: System.Int32A 32-bit integer in compressed format.
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.
Windows Phone OS
Supported in: 8.1, 8.0, 7.1, 7.0