11 ::ll::TypedStorage<4, 4, uint> numberOfBitsUsed;
12 ::ll::TypedStorage<4, 4, uint> numberOfBitsAllocated;
13 ::ll::TypedStorage<4, 4, uint> readOffset;
14 ::ll::TypedStorage<8, 8, uchar*> data;
15 ::ll::TypedStorage<1, 1, bool> copyData;
16 ::ll::TypedStorage<1, 256, uchar[256]> stackData;
22 MCAPI
void AddBitsAndReallocate(uint numberOfBitsToWrite);
26 MCAPI
explicit BitStream(uint initialBytesToAllocate);
28 MCAPI BitStream(uchar* _data, uint lengthInBytes,
bool _copyData);
30 MCAPI
void IgnoreBits(uint numberOfBits);
32 MCAPI
void IgnoreBytes(uint numberOfBytes);
34 MCAPI
void PadWithZeroToByteLength(uint bytes);
36 MCAPI
bool Read(
char* outByteArray, uint numberOfBytes);
38 MCAPI
bool ReadAlignedBytes(uchar* inOutByteArray, uint numberOfBytesToRead);
40 MCAPI
bool ReadAlignedVar16(
char* inOutByteArray);
42 MCAPI
bool ReadAlignedVar32(
char* inOutByteArray);
44 MCAPI
bool ReadAlignedVar8(
char* inOutByteArray);
46 MCAPI
bool ReadBits(uchar* inOutByteArray, uint numberOfBitsToRead,
bool alignBitsToRight);
50 MCAPI
void ResetReadPointer();
52 MCFOLD
void ResetWritePointer();
54 MCFOLD
void SetWriteOffset(uint offset);
60 MCAPI
void Write(
char const* inputByteArray, uint numberOfBytes);
66 MCAPI
void WriteAlignedBytes(uchar
const* inByteArray, uint numberOfBytesToWrite);
68 MCAPI
void WriteAlignedVar16(
char const* inByteArray);
70 MCAPI
void WriteAlignedVar32(
char const* inByteArray);
72 MCAPI
void WriteAlignedVar8(
char const* inByteArray);
74 MCAPI
void WriteBits(uchar
const* inByteArray, uint numberOfBitsToWrite,
bool rightAlignedBits);
82 MCAPI
static bool IsNetworkOrderInternal();
84 MCAPI
static void ReverseBytes(uchar* inByteArray, uchar* inOutByteArray, uint length);
92 MCAPI
void* $ctor(uint initialBytesToAllocate);
94 MCAPI
void* $ctor(uchar* _data, uint lengthInBytes,
bool _copyData);