C# 클래스 NScumm.Core.BitStream

파일 보기 프로젝트 열기: scemino/nscumm

공개 메소드들

메소드 설명
AddBit ( uint &x, int n ) : void

Add a bit to the value x, making it an n+1-bit value.

The current value is shifted and the bit is added to the appropriate place, dependant on the stream's bitorder.

BitStream ( Stream stream, BitStreamType type, bool isLittleEdian, bool isMsb2Lsb ) : System
Create8Lsb ( Stream stream ) : BitStream
GetBit ( ) : uint
GetBits ( int n ) : uint
PeekBits ( uint n ) : uint
ReadData ( ) : uint
Skip ( uint n ) : void

비공개 메소드들

메소드 설명
ReadValue ( ) : void

메소드 상세

AddBit() 공개 메소드

Add a bit to the value x, making it an n+1-bit value.
The current value is shifted and the bit is added to the appropriate place, dependant on the stream's bitorder.
public AddBit ( uint &x, int n ) : void
x uint
n int
리턴 void

BitStream() 공개 메소드

public BitStream ( Stream stream, BitStreamType type, bool isLittleEdian, bool isMsb2Lsb ) : System
stream Stream
type BitStreamType
isLittleEdian bool
isMsb2Lsb bool
리턴 System

Create8Lsb() 공개 정적인 메소드

public static Create8Lsb ( Stream stream ) : BitStream
stream Stream
리턴 BitStream

GetBit() 공개 메소드

public GetBit ( ) : uint
리턴 uint

GetBits() 공개 메소드

public GetBits ( int n ) : uint
n int
리턴 uint

PeekBits() 공개 메소드

public PeekBits ( uint n ) : uint
n uint
리턴 uint

ReadData() 공개 메소드

public ReadData ( ) : uint
리턴 uint

Skip() 공개 메소드

public Skip ( uint n ) : void
n uint
리턴 void