get_serialised_object_type


Description:

protected abstract VariantType? get_serialised_object_type (uint8 object_version)

Get the GLib.VariantType of the serialised form of an object stored in this cache.

If a smooth upgrade path is needed in future due to cache file format changes, this may be modified to take a version parameter.

Parameters:

object_version

the version of the object format to use, or uint8.MAX for the latest version

Returns:

variant type for that object version, or null if the version is unsupported

Since:

0.6.0




2022 vala-language.org