Lightweight bit reader which works on native pointer. Stores bit length and current position.
More...
Lightweight bit reader which works on native pointer. Stores bit length and current position.
Definition at line 12 of file BitReader.cs.
VRage.Library.Collections.BitReader.BitReader |
( |
IntPtr |
data, |
|
|
int |
bitLength |
|
) |
| |
|
inline |
bool VRage.Library.Collections.BitReader.ReadBool |
( |
| ) |
|
|
inline |
byte VRage.Library.Collections.BitReader.ReadByte |
( |
int |
bitCount = sizeof(byte) * 8 | ) |
|
|
inline |
void VRage.Library.Collections.BitReader.ReadBytes |
( |
byte[] |
bytes, |
|
|
int |
start, |
|
|
int |
count |
|
) |
| |
|
inline |
char VRage.Library.Collections.BitReader.ReadChar |
( |
int |
bitCount = sizeof(char) * 8 | ) |
|
|
inline |
decimal VRage.Library.Collections.BitReader.ReadDecimal |
( |
| ) |
|
|
inline |
double VRage.Library.Collections.BitReader.ReadDouble |
( |
| ) |
|
|
inline |
float VRage.Library.Collections.BitReader.ReadFloat |
( |
| ) |
|
|
inline |
short VRage.Library.Collections.BitReader.ReadInt16 |
( |
int |
bitCount = sizeof(short) * 8 | ) |
|
|
inline |
int VRage.Library.Collections.BitReader.ReadInt32 |
( |
int |
bitCount = sizeof(int) * 8 | ) |
|
|
inline |
int VRage.Library.Collections.BitReader.ReadInt32Variant |
( |
| ) |
|
|
inline |
long VRage.Library.Collections.BitReader.ReadInt64 |
( |
int |
bitCount = sizeof(long) * 8 | ) |
|
|
inline |
long VRage.Library.Collections.BitReader.ReadInt64Variant |
( |
| ) |
|
|
inline |
ulong VRage.Library.Collections.BitReader.ReadInternal |
( |
int |
bitSize | ) |
|
|
inline |
void VRage.Library.Collections.BitReader.ReadMemory |
( |
IntPtr |
ptr, |
|
|
int |
bitSize |
|
) |
| |
|
inline |
void VRage.Library.Collections.BitReader.ReadMemory |
( |
void * |
ptr, |
|
|
int |
bitSize |
|
) |
| |
|
inline |
string VRage.Library.Collections.BitReader.ReadPrefixLengthString |
( |
Encoding |
encoding | ) |
|
|
inline |
sbyte VRage.Library.Collections.BitReader.ReadSByte |
( |
int |
bitCount = sizeof(sbyte) * 8 | ) |
|
|
inline |
ushort VRage.Library.Collections.BitReader.ReadUInt16 |
( |
int |
bitCount = sizeof(ushort) * 8 | ) |
|
|
inline |
uint VRage.Library.Collections.BitReader.ReadUInt32 |
( |
int |
bitCount = sizeof(uint) * 8 | ) |
|
|
inline |
uint VRage.Library.Collections.BitReader.ReadUInt32Variant |
( |
| ) |
|
|
inline |
ulong VRage.Library.Collections.BitReader.ReadUInt64 |
( |
int |
bitCount = sizeof(ulong) * 8 | ) |
|
|
inline |
ulong VRage.Library.Collections.BitReader.ReadUInt64Variant |
( |
| ) |
|
|
inline |
void VRage.Library.Collections.BitReader.Reset |
( |
IntPtr |
data, |
|
|
int |
bitLength |
|
) |
| |
|
inline |
int VRage.Library.Collections.BitReader.BitPosition |
int VRage.Library.Collections.BitReader.m_bitLength |
ulong* VRage.Library.Collections.BitReader.m_buffer |
The documentation for this struct was generated from the following file: