Represents a buffer of bytes being encoded into ETF.
More...
#include "etf.h"
|
std::vector< char > | buf |
| Raw buffer. More...
|
|
size_t | length |
| Current used length of buffer (this is different from buf.size() as it is pre-allocated using resize and may not all be in use) More...
|
|
Represents a buffer of bytes being encoded into ETF.
◆ etf_buffer()
dpp::etf_buffer::etf_buffer |
( |
size_t |
initial | ) |
|
Construct a new etf buffer object.
- Parameters
-
initial | initial buffer size to allocate |
◆ ~etf_buffer()
dpp::etf_buffer::~etf_buffer |
( |
| ) |
|
|
default |
Destroy the etf buffer object.
◆ buf
std::vector<char> dpp::etf_buffer::buf |
◆ length
size_t dpp::etf_buffer::length |
Current used length of buffer (this is different from buf.size() as it is pre-allocated using resize and may not all be in use)
The documentation for this struct was generated from the following files: