serialize


Description:

[ Version ( since = "1.50" ) ]
public Bytes serialize (LayoutSerializeFlags flags)

Serializes the this 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.

Parameters:

this

a `PangoLayout`

flags

`PangoLayoutSerializeFlags`

Returns:

a `GBytes` containing the serialized form of this