Gsk.RenderNode.deserialize
Description: Reference for Gsk.RenderNode.deserialize

### Function

# Gsk RenderNodedeserialize

#### Declaration [src]

    GskRenderNode*
    gsk_render_node_deserialize (
      GBytes* bytes,
      GskParseErrorFunc error_func,
      gpointer user_data
    )

#### Description [src]

Loads data previously created via `gsk_render_node_serialize()`.

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

#### Parameters

`bytes`

  Type: `GBytes`

  The bytes containing the data.

  The data is owned by the caller of the function.

`error_func`

  Type: `GskParseErrorFunc`

  Callback on parsing errors.

`user_data`

  Type: `gpointer`

  User_data for `error_func`.

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

#### Return value

Type: `GskRenderNode`

A new `GskRenderNode`

The caller of the function takes ownership of the data, and is responsible for freeing it.
The return value can be `NULL`.