serialize


Description:

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

Serializes the this in a way that can be uniquely identified.

There are no guarantees about the format of the output across different versions of Pango.

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

To recreate a font from its serialized form, use [func@Pango.Font.deserialize].

Parameters:

this

a `PangoFont`

Returns:

a `GBytes` containing the serialized form of this