LeviLamina
Loading...
Searching...
No Matches
BitBufferWriter.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace rtc {
6
8public:
9 // member functions
10 // NOLINTBEGIN
11 MCAPI BitBufferWriter(uchar*, uint64);
12
13 MCAPI bool ConsumeBits(uint64);
14
15 MCAPI void GetCurrentOffset(uint64*, uint64*);
16
17 MCAPI uint64 RemainingBitCount() const;
18
19 MCAPI bool WriteBits(uint64, uint64);
20
21 MCAPI bool WriteNonSymmetric(uint, uint);
22
23 MCAPI bool WriteUInt16(ushort);
24
25 MCAPI bool WriteUInt8(uchar);
26 // NOLINTEND
27
28public:
29 // static functions
30 // NOLINTBEGIN
31 MCAPI static uint64 SizeNonSymmetricBits(uint, uint);
32 // NOLINTEND
33
34public:
35 // constructor thunks
36 // NOLINTBEGIN
37 MCAPI void* $ctor(uchar*, uint64);
38 // NOLINTEND
39};
40
41} // namespace rtc
Definition BitBufferWriter.h:7