LeviLamina
Loading...
Searching...
No Matches
ByteBufferReader.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace rtc { class ByteBufferWriter; }
8// clang-format on
9
10namespace rtc {
11
13public:
14 // member variables
15 // NOLINTBEGIN
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 ByteBufferReader& operator=(ByteBufferReader const&);
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI explicit ByteBufferReader(::rtc::ByteBufferWriter const&);
32
34
35 MCAPI void Construct(uchar const*, uint64);
36
37 MCAPI bool Consume(uint64);
38
39 MCAPI bool ReadBytes(::rtc::ArrayView<uchar>);
40
41 MCAPI bool ReadBytes(uchar*, uint64);
42
43 MCAPI bool ReadString(::std::string*, uint64);
44
45 MCAPI bool ReadStringView(::std::string_view*, uint64);
46
47 MCAPI bool ReadUInt16(ushort*);
48
49 MCAPI bool ReadUInt32(uint*);
50
51 MCAPI bool ReadUInt64(uint64*);
52
53 MCAPI bool ReadUInt8(uchar*);
54
55 MCAPI bool ReadUVarint(uint64*);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::rtc::ByteBufferWriter const&);
62
63 MCAPI void* $ctor(::rtc::ArrayView<uchar const>);
64 // NOLINTEND
65};
66
67} // namespace rtc
Definition _HeaderOutputPredefine.h:238
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11
Definition Alias.h:14