OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
BinarySerialization.h File Reference
#include "ContainerSerialization.h"
#include "BlobSerialization.h"
#include "MemCopySerialization.h"
#include "BinaryConcepts.h"

Classes

struct  detail::BlobSerializer
 
struct  detail::BlobDeserializer< T >
 

Namespaces

namespace  detail
 

Variables

constexpr detail::BlobSerializer toBlob
 
template<class T >
constexpr detail::BlobDeserializer< T > fromBlob
 

Variable Documentation

◆ fromBlob

template<class T >
constexpr detail::BlobDeserializer<T> fromBlob
constexpr

Ranges-friendly binary deserialization object.

Can be used directly as return fromBlob<T>(blob), or passed into std::views::transform.

Under the hood it's calling the deserialize function using argument-dependent lookup.

See also
toBlob

◆ toBlob

constexpr detail::BlobSerializer toBlob
constexpr

Ranges-friendly binary serialization object.

Can be used directly as return toBlob(someStruct), or passed into std::views::transform.

Under the hood it's calling the serialize function using argument-dependent lookup.

See also
fromBlob