serialize_to_stream


Description:

[ Version ( since = "2.10" ) ]
public bool serialize_to_stream (OutputStream output, string? header, string? footer, void* data) throws Error

Serializes the object properties of this to the stream specified by output.

Parameters:

this

an object that implements [iface@ConfigInterface].

output

the OutputStream to write the configuration to.

header

optional file header (must be ASCII only)

footer

optional file footer (must be ASCII only)

data

user data passed to the serialize implementation.

Returns:

Whether serialization succeeded.