TRIQS/h5 1.3.0
C++ interface to HDF5
Loading...
Searching...
No Matches
serialization.hpp File Reference
#include "./file.hpp"
#include "./generic.hpp"
#include <cstddef>
#include <vector>

Detailed Description

Provides generic serialize and deserialize functions for types that can be read/written from/to HDF5.

Definition in file serialization.hpp.

Go to the source code of this file.

Functions

template<typename T >
h5::deserialize (std::vector< std::byte > const &buf)
 Deserialize an object from a byte buffer.
 
template<typename T >
std::vector< std::byte > h5::serialize (T const &x)
 Serialize an object to a byte buffer.