deserialize


Description:

public static RenderNode? deserialize (Bytes bytes, ParseErrorFunc? error_func)

Loads data previously created via [method@Gsk.

RenderNode.serialize].

For a discussion of the supported format, see that function.

Parameters:

bytes

the bytes containing the data

error_func

Callback on parsing errors

user_data

user_data for error_func

Returns:

a new `GskRenderNode`