#include <icy/stun/attributes.h>Inherits:
Attribute
Implements a zero-length STUN/TURN flag attribute (presence implies the flag is set).
| Return | Name | Description |
|---|---|---|
FlagAttribute | #### Parameters | |
std::unique_ptr< Attribute > | clone virtual | Returns a deep copy of this attribute. |
void | read virtual inline | No-op: flag attributes carry no body bytes. |
void | write virtual const inline | No-op: flag attributes carry no body bytes. |
FlagAttribute(uint16_t type)type Wire type code for the concrete attribute.virtual
virtual std::unique_ptr< Attribute > clone()Returns a deep copy of this attribute.
virtual inline
virtual inline void read(BitReader &)No-op: flag attributes carry no body bytes.
virtual const inline
virtual inline void write(BitWriter &) constNo-op: flag attributes carry no body bytes.
| Return | Name | Description |
|---|---|---|
constexpr uint16_t | Size static |
static
constexpr uint16_t Size = 0