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

Static Public Member Functions

static bool HasBit (uint self, int index)
 
static uint SetBit (uint flags, int val, bool set)
 
static uint DecodeBit (this byte value, int firstBit, int numBits)
 
static uint DecodeBit (this ushort value, int firstBit, int numBits)
 
static uint DecodeBit (this uint value, int firstBit, int numBits)
 
static ushort EncodeBit (this byte self, byte value, int firstBit, int bits)
 
static ushort EncodeBit (this ushort self, ushort value, int firstBit, int bits)
 
static uint EncodeBit (this uint self, int value, int firstBit, int bits)
 
static uint EncodeBit (this uint self, uint value, int firstBit, int bits)
 

Member Function Documentation

◆ DecodeBit() [1/3]

static uint BitUtility.DecodeBit ( this byte value,
int firstBit,
int numBits )
static

◆ DecodeBit() [2/3]

static uint BitUtility.DecodeBit ( this uint value,
int firstBit,
int numBits )
static

◆ DecodeBit() [3/3]

static uint BitUtility.DecodeBit ( this ushort value,
int firstBit,
int numBits )
static

◆ EncodeBit() [1/4]

static ushort BitUtility.EncodeBit ( this byte self,
byte value,
int firstBit,
int bits )
static

◆ EncodeBit() [2/4]

static uint BitUtility.EncodeBit ( this uint self,
int value,
int firstBit,
int bits )
static

◆ EncodeBit() [3/4]

static uint BitUtility.EncodeBit ( this uint self,
uint value,
int firstBit,
int bits )
static

◆ EncodeBit() [4/4]

static ushort BitUtility.EncodeBit ( this ushort self,
ushort value,
int firstBit,
int bits )
static

◆ HasBit()

static bool BitUtility.HasBit ( uint self,
int index )
static

◆ SetBit()

static uint BitUtility.SetBit ( uint flags,
int val,
bool set )
static

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