Luna::serialize

R< Variant > serialize(typeinfo_t type, const void *inst)

Serializes one instance.

Parameters

  • in type

    The type of the instance.

  • in inst

    The instance data.

Return value

Returns one variant that stores the serialized data.