LeviLamina
Loading...
Searching...
No Matches
SctpPacket.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/external/webrtc/StrongAlias.h"
7
8// auto generated forward declare list
9// clang-format off
10namespace dcsctp { class Chunk; }
11namespace dcsctp { class VerificationTagTag; }
12namespace dcsctp { struct DcSctpOptions; }
13// clang-format on
14
15namespace dcsctp {
16
18public:
19 // SctpPacket inner types declare
20 // clang-format off
21 class Builder;
22 struct ChunkDescriptor;
23 // clang-format on
24
25 // SctpPacket inner types define
26 class Builder {
27 public:
28 // prevent constructor by default
29 Builder();
30
31 public:
32 // member functions
33 // NOLINTBEGIN
34 MCNAPI ::dcsctp::SctpPacket::Builder& Add(::dcsctp::Chunk const&);
35
36 MCNAPI ::std::vector<uchar> Build(bool);
37
39
40 MCNAPI uint64 bytes_remaining() const;
41
42 MCNAPI ~Builder();
43 // NOLINTEND
44
45 public:
46 // constructor thunks
47 // NOLINTBEGIN
49 // NOLINTEND
50
51 public:
52 // destructor thunk
53 // NOLINTBEGIN
54 MCNAPI void $dtor();
55 // NOLINTEND
56 };
57
58 struct ChunkDescriptor {};
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCNAPI ~SctpPacket();
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCNAPI static ::std::optional<::dcsctp::SctpPacket>
71 // NOLINTEND
72
73public:
74 // destructor thunk
75 // NOLINTBEGIN
76 MCNAPI void $dtor();
77 // NOLINTEND
78};
79
80} // namespace dcsctp
Definition Chunk.h:7
Definition SctpPacket.h:26
MCAPI uint64 bytes_remaining() const
MCAPI::dcsctp::SctpPacket::Builder & Add(::dcsctp::Chunk const &)
MCAPI void * $ctor(::webrtc::StrongAlias<::dcsctp::VerificationTagTag, uint >, ::dcsctp::DcSctpOptions const &)
MCAPI Builder(::webrtc::StrongAlias<::dcsctp::VerificationTagTag, uint >, ::dcsctp::DcSctpOptions const &)
MCAPI ::std::vector< uchar > Build(bool)
Definition SctpPacket.h:17
MCAPI void $dtor()
static MCAPI ::std::optional<::dcsctp::SctpPacket > Parse(::rtc::ArrayView< uchar const >, ::dcsctp::DcSctpOptions const &)
Definition _HeaderOutputPredefine.h:258
Definition StrongAlias.h:8
Definition DcSctpOptions.h:7
Definition SctpPacket.h:58