[ 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 [[email protected]] 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.
this |
a `PangoLayout` |
flags |
`PangoLayoutSerializeFlags` |
a `GBytes` containing the serialized form of this |