BinaryReader.Read7BitEncodedInt 메서드

정의

압축된 형식으로 32비트 정수로 읽습니다.

protected public:
 int Read7BitEncodedInt();
protected:
 int Read7BitEncodedInt();
protected internal int Read7BitEncodedInt();
protected int Read7BitEncodedInt();
member this.Read7BitEncodedInt : unit -> int
Protected Friend Function Read7BitEncodedInt () As Integer
Protected Function Read7BitEncodedInt () As Integer

반품

압축된 형식의 32비트 정수입니다.

예외

스트림의 끝에 도달합니다.

스트림이 닫혔습니다.

I/O 오류가 발생했습니다.

스트림이 손상되었습니다.

설명

BinaryReader 는 읽지 못한 후 파일 위치를 복원하지 않습니다.

정수가 7비트에 맞으면 정수는 1바이트만 사용합니다. 정수는 다음을 통해 BinaryWriter.Write7BitEncodedInt작성될 것으로 예상됩니다.

일반적인 I/O 작업 목록은 일반적인 I/O 작업을 참조하세요.

적용 대상

추가 정보