template<std::ranges::output_range<uint8_t> C>
okser::out::fixed_container class

An output to a pre-allocated C++ range, such as an std::array

Example

std::array<uint8_t, 3> result;
auto output = okser::out::fixed_container{result};

// ...

okser::serialize<bundle>(output, 100, 200, 300);

Constructors, destructors, conversion operators

fixed_container(C& container) explicit

Public functions

template<typename T>
void add(const T& value)