GtkTextBufferSerializeFunc

A function that is called to serialize the content of a text buffer. It must return the serialized form of the content.

alias GtkTextBufferSerializeFunc = ubyte* function(GtkTextBuffer* registerBuffer, GtkTextBuffer* contentBuffer, GtkTextIter* start, GtkTextIter* end, size_t* length, void* userData)

Return Value

a newly-allocated array of guint8 which contains the serialized data, or NULL if an error occurred