Twilight Princess
Remastered version of the GameCube game
Loading...
Searching...
No Matches
ASTCDecoder.BitArrayStream Class Reference

Public Member Functions

 BitArrayStream (BitArray BitArray)
 
short ReadBits (int Length)
 
int ReadBits (int Start, int End)
 
int ReadBit (int Index)
 
void WriteBits (int Value, int Length)
 
byte[] ToByteArray ()
 

Static Public Member Functions

static int Replicate (int Value, int NumberBits, int ToBit)
 
static int PopCnt (int Number)
 
static void Swap< T > (ref T lhs, ref T rhs)
 
static void BitTransferSigned (ref int a, ref int b)
 

Public Attributes

BitArray BitsArray
 

Properties

int Position [get, private set]
 

Constructor & Destructor Documentation

◆ BitArrayStream()

ASTCDecoder.BitArrayStream.BitArrayStream ( BitArray BitArray)

Member Function Documentation

◆ BitTransferSigned()

static void ASTCDecoder.BitArrayStream.BitTransferSigned ( ref int a,
ref int b )
static

◆ PopCnt()

static int ASTCDecoder.BitArrayStream.PopCnt ( int Number)
static

◆ ReadBit()

int ASTCDecoder.BitArrayStream.ReadBit ( int Index)

◆ ReadBits() [1/2]

short ASTCDecoder.BitArrayStream.ReadBits ( int Length)

◆ ReadBits() [2/2]

int ASTCDecoder.BitArrayStream.ReadBits ( int Start,
int End )

◆ Replicate()

static int ASTCDecoder.BitArrayStream.Replicate ( int Value,
int NumberBits,
int ToBit )
static

◆ Swap< T >()

static void ASTCDecoder.BitArrayStream.Swap< T > ( ref T lhs,
ref T rhs )
static

◆ ToByteArray()

byte[] ASTCDecoder.BitArrayStream.ToByteArray ( )

◆ WriteBits()

void ASTCDecoder.BitArrayStream.WriteBits ( int Value,
int Length )

Member Data Documentation

◆ BitsArray

BitArray ASTCDecoder.BitArrayStream.BitsArray

Property Documentation

◆ Position

int ASTCDecoder.BitArrayStream.Position
getprivate set

The documentation for this class was generated from the following file: