dpp::etf_buffer
etf.h
std::vector< char > std::vector<char> dpp::etf_buffer::buf buf dpp::etf_buffer::buf

Raw buffer.

size_t size_t dpp::etf_buffer::length length 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).

dpp::etf_buffer::etf_buffer
(size_t initial)
etf_buffer
dpp::etf_buffer::etf_buffer
size_t initial

Construct a new etf buffer object.

initial

initial buffer size to allocate

dpp::etf_buffer::~etf_buffer
()
~etf_buffer
dpp::etf_buffer::~etf_buffer

Destroy the etf buffer object.

Represents a buffer of bytes being encoded into ETF.

T
char
dpp::etf_buffer
buf
length
size_t
std::vector< T >
elements
std::vector< char >
elements
< char >
- dpp::etf_buffer
  buf
- dpp::etf_buffer
  etf_buffer
- dpp::etf_buffer
  length
- dpp::etf_buffer
  ~etf_buffer