[ CCode ( array_length_pos = 4.1 , array_length_type = "gsize" , instance_pos = 4.9 ) ]
public delegate uint8[]? TextBufferSerializeFunc (TextBuffer register_buffer, TextBuffer content_buffer, TextIter start, TextIter end)
A function that is called to serialize the content of a text buffer.
It must return the serialized form of the content.
register_buffer |
the TextBuffer for which the format is registered |
content_buffer |
the TextBuffer to serialize |
start |
start of the block of text to serialize |
end |
end of the block of text to serialize |
length |
return location for the length of the serialized data |
user_data |
user data that was specified when registering the format |
a newly-allocated array of guint8 which contains the serialized data, or null if an error occurred |