Base class that serves as archiver, stores (in memory) the data required for serialization/deserialization.
More...
#include <serializer.hpp>
|
::std::vector< uint8_t > | buffer |
|
size_t | ptr = 0 |
|
Base class that serves as archiver, stores (in memory) the data required for serialization/deserialization.
Definition at line 64 of file serializer.hpp.
◆ Archive()
Eng3D::Deser::Archive::Archive |
( |
| ) |
|
|
default |
◆ ~Archive()
Eng3D::Deser::Archive::~Archive |
( |
| ) |
|
|
default |
◆ copy_from()
void Eng3D::Deser::Archive::copy_from |
( |
const void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
◆ copy_to()
void Eng3D::Deser::Archive::copy_to |
( |
void * |
ptr, |
|
|
size_t |
size |
|
) |
| |
◆ end_stream()
void Eng3D::Deser::Archive::end_stream |
( |
| ) |
|
|
inline |
◆ expand()
void Eng3D::Deser::Archive::expand |
( |
size_t |
amount | ) |
|
|
inline |
◆ from_file()
void Eng3D::Deser::Archive::from_file |
( |
const ::std::string & |
path | ) |
|
◆ get_buffer()
const void* Eng3D::Deser::Archive::get_buffer |
( |
| ) |
|
|
inline |
◆ rewind()
void Eng3D::Deser::Archive::rewind |
( |
| ) |
|
|
inline |
◆ set_buffer()
void Eng3D::Deser::Archive::set_buffer |
( |
const void * |
buf, |
|
|
size_t |
size |
|
) |
| |
|
inline |
◆ size()
size_t Eng3D::Deser::Archive::size |
( |
| ) |
|
|
inline |
◆ to_file()
void Eng3D::Deser::Archive::to_file |
( |
const ::std::string & |
path | ) |
|
◆ buffer
::std::vector<uint8_t> Eng3D::Deser::Archive::buffer |
◆ ptr
size_t Eng3D::Deser::Archive::ptr = 0 |
The documentation for this struct was generated from the following files: