Method
OmniTransformerStatedeserialize_from_async
Declaration
void
omni_transformer_state_deserialize_from_async (
OmniTransformerState* self,
GBytes* buffer,
GCancellable* cancellable,
GAsyncReadyCallback callback,
void* user_data
)
Description
Deserialize the state from the specified byte sequence.
This method must be overridden if the transformer feature flags include
Omni.TransformerFeatureFlags.STATE_SERIALIZABLE.
The default implementation throws an error.
Parameters
buffer-
Type:
GBytesNo description available.
The data is owned by the caller of the method. cancellable-
Type:
GCancellableNo description available.
The argument can be NULL.The data is owned by the caller of the method. callback-
Type:
GAsyncReadyCallbackNo description available.
The argument can be NULL. user_data-
Type:
void*No description available.
The argument can be NULL.The data is owned by the caller of the method.