1#ifndef REFLECTIVE_RAPIDJSON_BINARY_SERIALIZABLE_H
2#define REFLECTIVE_RAPIDJSON_BINARY_SERIALIZABLE_H
28 static constexpr const char *
qualifiedName =
"ReflectiveRapidJSON::BinarySerializable";
31#if __cplusplus > 201707L
60#define REFLECTIVE_RAPIDJSON_MAKE_BINARY_SERIALIZABLE(T) \
61 template <> struct ReflectiveRapidJSON::AdaptedBinarySerializable<T> : Traits::Bool<true> {}
Contains BinaryReader and BinaryWriter supporting binary (de)serialization of primitive and custom ty...
The BinaryDeserializer class can read various data types, including custom ones, from an std::istream...
The BinarySerializer class can write various data types, including custom ones, to an std::ostream.
void write(const Type &pair)
std::uint64_t BinaryVersion
VersionNotSupported< BinaryVersion > BinaryVersionNotSupported
The BinarySerializable class provides the CRTP-base for (de)serializable objects.
static Type fromBinary(std::istream &inputStream)
static constexpr const char * qualifiedName
void toBinary(std::ostream &outputStream, BinaryVersion version=0) const
BinaryVersion restoreFromBinary(std::istream &inputStream)
static constexpr auto version