Virtual Method

OmniTransformerStatedeserialize_from_async

Declaration

void
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: GBytes

No description available.

The data is owned by the caller of the method.
cancellable

Type: GCancellable

No description available.

The argument can be NULL.
The data is owned by the caller of the method.
callback

Type: GAsyncReadyCallback

No description available.

user_data

Type: void*

No description available.

The argument can be NULL.
The data is owned by the caller of the method.