Luna::serialize

template <typename _Ty>
R< Variant > serialize(const _Ty &inst)

Serializes one instance of type _Ty.

Parameters

  • in inst

    The instance data.

Return value

Returns one variant that stores the serialized data.