#include <ok-serializer/types_compound.h>
template<class... Types>
bundle class
An array of types to be serialized. Bundle objects describe the binary format of the serialized output, and are a required input of the serializer.
Example
using MyBundle = okser::bundle<okser::uint<4>, okser::sint<2>, okser::floatp>;
Public types
- using TypesTuple = std::tuple<Types...>
- using DefaultType = std::tuple<typename Types::DefaultType...>
Constructors, destructors, conversion operators
-
template<Output Out, typename... Values>requires(Serializer<Types>, ...) const expr static void serialize(Out &&output
-
std::apply((auto && ...v) {((internal::
serialize_one(v, output)),...);}, typeValues) -
template<class Tuple, InputContext Context>requires(Deserializer<Types>, ...) const expr static std
Public variables
- Values values