[ CCode ( array_length_pos = 4.1 , array_length_type = "gsize" ) ]
[ Version ( since = "2.10" ) ]
public uint8[] serialize (TextBuffer content_buffer, Atom format, TextIter start, 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
register_serialize_format or register_serialize_tagset
beforehand.
this |
the TextBuffer |
content_buffer |
the TextBuffer 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 |
length |
return location for the length of the serialized data |
the serialized data, encoded as |