TextBufferSerializeFunc


Description:

[ CCode ( array_length_pos = 4.1 , array_length_type = "gsize" , instance_pos = 4.9 ) ]
public delegate uint8[]? TextBufferSerializeFunc (TextBuffer register_buffer, TextBuffer content_buffer, TextIter start, TextIter end)

A function that is called to serialize the content of a text buffer.

It must return the serialized form of the content.

Parameters:

register_buffer

the TextBuffer for which the format is registered

content_buffer

the TextBuffer to serialize

start

start of the block of text to serialize

end

end of the block of text to serialize

length

return location for the length of the serialized data

user_data

user data that was specified when registering the format

Returns:

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


Namespace: Gtk
Package: gtk+-3.0



2022 vala-language.org