load


Description:

[ Version ( since = "3.24" ) ]
public virtual bool load (MIRecord? record, string bdata_ptr)

Load content of this from the data stored in record.

The bdata_ptr points to the current position of the record->bdata, where the read can continue. Use helper functions util_bdata_get_number and util_bdata_get_string to read data from it and also move forward the *bdata_ptr.

After successful load of the this, the 'dirty' flag is unset.

Parameters:

this

a MessageInfo to load

record

a MIRecord to load the this from

bdata_ptr

a backend specific data (bdata) pointer

Returns:

Whether the load was successful.




2022 vala-language.org