serialize

open fun serialize(flags: LayoutSerializeFlags): <Error class: unknown class>

Serializes the @layout for later deserialization via func@Pango.Layout.deserialize.

There are no guarantees about the format of the output across different versions of Pango and func@Pango.Layout.deserialize will reject data that it cannot parse.

The intended use of this function is testing, benchmarking and debugging. The format is not meant as a permanent storage format.

Return

a GBytes containing the serialized form of @layout

Since

1.50

Parameters

flags

PangoLayoutSerializeFlags