deserialize


Description:

[ Version ( since = "2.10" ) ]
public bool deserialize (TextBuffer content_buffer, Atom format, TextIter iter, uint8[] data) throws Error

This function deserializes rich text in format format and inserts it at iter.

formats to be used must be registered using register_deserialize_format or register_deserialize_tagset beforehand.

Parameters:

this

the TextBuffer format is registered with

content_buffer

the TextBuffer to deserialize into

format

the rich text format to use for deserializing

iter

insertion point for the deserialized text

data

data to deserialize

length

length of data

Returns:

true on success, false otherwise.