Archive that serializes trivially-copyable values into a byte buffer.
More...
#include <RegistryArchive.hpp>
|
| void | appendRaw (const uint8_t *data, std::size_t size) |
| | Append a raw byte range with a single resize + memcpy.
|
| template<typename T> |
| void | operator() (const T &value) |
| | Append value to the internal buffer as raw bytes.
|
Archive that serializes trivially-copyable values into a byte buffer.
◆ appendRaw()
| void OutputArchive::appendRaw |
( |
const uint8_t * | data, |
|
|
std::size_t | size ) |
|
inline |
Append a raw byte range with a single resize + memcpy.
◆ operator()()
template<typename T>
| void OutputArchive::operator() |
( |
const T & | value | ) |
|
|
inline |
Append value to the internal buffer as raw bytes.
- Template Parameters
-
| T | A trivially-copyable type. |
- Parameters
-
| value | The value to serialize. |
◆ buffer
| std::vector<uint8_t> OutputArchive::buffer |
The documentation for this class was generated from the following file: