ConfigWriter.from_stream


Description:

[ CCode ( has_construct_function = false ) ]
[ Version ( since = "2.10" ) ]
public ConfigWriter.from_stream (OutputStream output, string header) throws Error

Creates a new ConfigWriter and sets it up to write to output.

Parameters:

output

a OutputStream

header

text to include as comment at the top of the file

Returns:

a new ConfigWriter or null in case of an error