C# 클래스 CrystalMpq.BitBuffer

Represents a bit buffer.
This structure is designed for internal use in CrystalMpq. Incorrect usage of the structure will lead to bugs or even worse, memory leaks. The structure shall always be initialized using this constructor. Once created, there shall never be more than one living copy of the structure. The structure shall always be passed as a reference parameter and never as a value parameter. Once the structure have been used for its purposes, it shall be released using the Dispose method. After the structure has been disposed, the instance shall never be used again.
파일 보기 프로젝트 열기: sgraf812/crystalmpq 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
GetBit ( ) : int
GetBits ( int count ) : int
GetByte ( ) : byte

비공개 메소드들

메소드 설명
BitBuffer ( byte buffer, int index, int count ) : System

Initializes a new instance of the BitBuffer struct.

The structure shall always be initialized using this constructor.

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

GetBit() 공개 메소드

public GetBit ( ) : int
리턴 int

GetBits() 공개 메소드

public GetBits ( int count ) : int
count int
리턴 int

GetByte() 공개 메소드

public GetByte ( ) : byte
리턴 byte