|
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) |
| Decodes bits from the given byte with the bit position and number of bits to decode.
|
|
static uint | DecodeBit (this ushort value, int firstBit, int numBits) |
| Decodes bits from the given ushort with the bit position and number of bits to decode.
|
|
static uint | DecodeBit (this uint value, int firstBit, int numBits) |
| Decodes bits from the given uint32 with the bit position and number of bits to decode.
|
|
static ushort | EncodeBit (this byte self, byte value, int firstBit, int bits) |
| Encodes bits from the given byte with the bit position and number of bits to decode.
|
|
static ushort | EncodeBit (this ushort self, ushort value, int firstBit, int bits) |
| Encodes bits from the given ushort with the bit position and number of bits to decode.
|
|
static uint | EncodeBit (this uint self, int value, int firstBit, int bits) |
| Encodes bits from the given uint32 with the bit position and number of bits to decode.
|
|
static uint | EncodeBit (this uint self, uint value, int firstBit, int bits) |
| Encodes bits from the given uint32 with the bit position and number of bits to decode.
|
|
◆ DecodeBit() [1/3]
static uint BitUtility.DecodeBit |
( |
this byte | value, |
|
|
int | firstBit, |
|
|
int | numBits ) |
|
static |
Decodes bits from the given byte with the bit position and number of bits to decode.
◆ DecodeBit() [2/3]
static uint BitUtility.DecodeBit |
( |
this uint | value, |
|
|
int | firstBit, |
|
|
int | numBits ) |
|
static |
Decodes bits from the given uint32 with the bit position and number of bits to decode.
◆ DecodeBit() [3/3]
static uint BitUtility.DecodeBit |
( |
this ushort | value, |
|
|
int | firstBit, |
|
|
int | numBits ) |
|
static |
Decodes bits from the given ushort with the bit position and number of bits to decode.
◆ EncodeBit() [1/4]
static ushort BitUtility.EncodeBit |
( |
this byte | self, |
|
|
byte | value, |
|
|
int | firstBit, |
|
|
int | bits ) |
|
static |
Encodes bits from the given byte with the bit position and number of bits to decode.
◆ EncodeBit() [2/4]
static uint BitUtility.EncodeBit |
( |
this uint | self, |
|
|
int | value, |
|
|
int | firstBit, |
|
|
int | bits ) |
|
static |
Encodes bits from the given uint32 with the bit position and number of bits to decode.
◆ EncodeBit() [3/4]
static uint BitUtility.EncodeBit |
( |
this uint | self, |
|
|
uint | value, |
|
|
int | firstBit, |
|
|
int | bits ) |
|
static |
Encodes bits from the given uint32 with the bit position and number of bits to decode.
◆ EncodeBit() [4/4]
static ushort BitUtility.EncodeBit |
( |
this ushort | self, |
|
|
ushort | value, |
|
|
int | firstBit, |
|
|
int | bits ) |
|
static |
Encodes bits from the given ushort with the bit position and number of bits to decode.
◆ 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: