group2 0.1.0
CSE 125 Group 2
Loading...
Searching...
No Matches
OutputArchive Class Reference

Archive that serializes trivially-copyable values into a byte buffer. More...

#include <RegistryArchive.hpp>

Public Member Functions

template<typename T>
void operator() (const T &value)
 Append value to the internal buffer as raw bytes.

Public Attributes

std::vector< uint8_t > buffer

Detailed Description

Archive that serializes trivially-copyable values into a byte buffer.

Member Function Documentation

◆ operator()()

template<typename T>
void OutputArchive::operator() ( const T & value)
inline

Append value to the internal buffer as raw bytes.

Template Parameters
TA trivially-copyable type.
Parameters
valueThe value to serialize.

Member Data Documentation

◆ buffer

std::vector<uint8_t> OutputArchive::buffer

The documentation for this class was generated from the following file: