LeviLamina
Loading...
Searching...
No Matches
StunByteStringAttribute.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/cricket/StunAttribute.h"
7#include "mc/external/cricket/StunAttributeValueType.h"
8
9// auto generated forward declare list
10// clang-format off
11namespace rtc { class ByteBufferReader; }
12namespace rtc { class ByteBufferWriter; }
13// clang-format on
14
15namespace cricket {
16
18public:
19 // member variables
20 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 0
34 virtual ~StunByteStringAttribute() /*override*/;
35
36 // vIndex: 1
37 virtual ::cricket::StunAttributeValueType value_type() const /*override*/;
38
39 // vIndex: 3
40 virtual bool Read(::rtc::ByteBufferReader* buf) /*override*/;
41
42 // vIndex: 4
43 virtual bool Write(::rtc::ByteBufferWriter* buf) const /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCNAPI void CopyBytes(::std::string_view bytes);
50
51 MCNAPI void CopyBytes(void const* bytes, uint64 length);
52
53 MCNAPI void SetBytes(uchar* bytes, uint64 length);
54
55 MCNAPI explicit StunByteStringAttribute(ushort type);
56
57 MCNAPI StunByteStringAttribute(ushort type, ushort length);
58
59 MCNAPI StunByteStringAttribute(ushort type, ::std::string_view str);
60
61 MCNAPI StunByteStringAttribute(ushort type, void const* bytes, uint64 length);
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCNAPI void* $ctor(ushort type);
68
69 MCNAPI void* $ctor(ushort type, ushort length);
70
71 MCNAPI void* $ctor(ushort type, ::std::string_view str);
72
73 MCNAPI void* $ctor(ushort type, void const* bytes, uint64 length);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCNAPI void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCNAPI ::cricket::StunAttributeValueType $value_type() const;
86
87 MCNAPI bool $Read(::rtc::ByteBufferReader* buf);
88
89 MCNAPI bool $Write(::rtc::ByteBufferWriter* buf) const;
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCNAPI static void** $vftable();
96 // NOLINTEND
97};
98
99} // namespace cricket
Definition StunAttribute.h:20
Definition StunByteStringAttribute.h:17
MCAPI StunByteStringAttribute(ushort type, ::std::string_view str)
MCAPI void * $ctor(ushort type, void const *bytes, uint64 length)
MCAPI void * $ctor(ushort type, ::std::string_view str)
MCAPI void CopyBytes(void const *bytes, uint64 length)
MCAPI bool $Write(::rtc::ByteBufferWriter *buf) const
MCAPI void SetBytes(uchar *bytes, uint64 length)
MCAPI void CopyBytes(::std::string_view bytes)
static MCAPI void ** $vftable()
MCAPI bool $Read(::rtc::ByteBufferReader *buf)
MCAPI StunByteStringAttribute(ushort type, void const *bytes, uint64 length)
MCAPI::cricket::StunAttributeValueType $value_type() const
MCAPI void * $ctor(ushort type)
MCAPI void * $ctor(ushort type, ushort length)
MCAPI StunByteStringAttribute(ushort type, ushort length)
MCAPI StunByteStringAttribute(ushort type)
Definition ByteBufferReader.h:12
Definition ByteBufferWriter.h:11
Definition Read.h:6
Definition Write.h:6
Definition Alias.h:14