data, encoded as format
TextBuffer.serialize
ubyte[] serialize(gtk.text_buffer.TextBuffer contentBuffer, gdk.atom.Atom format, gtk.text_iter.TextIter start, gtk.text_iter.TextIter end)This function serializes the portion of text between start and end in the rich text format represented by format.
formats to be used must be registered using [gtk.text_buffer.TextBuffer.registerSerializeFormat] or [gtk.text_buffer.TextBuffer.registerSerializeTagset] beforehand.
Parameters
contentBuffer | the #GtkTextBuffer to serialize |
format | the rich text format to use for serializing |
start | start of block of text to serialize |
end | end of block of test to serialize |
Returns
the serialized