A function that is called to serialize the content of a text buffer. It must return the serialized form of the content.
a newly-allocated array of guint8 which contains the serialized data, or null if an error occurred
A function that is called to serialize the content of a text buffer. It must return the serialized form of the content.