construct_from_data_sync


Description:

[ Version ( since = "3.46" ) ]
public bool construct_from_data_sync (void* data, ssize_t data_len, Cancellable? cancellable = null) throws Error

Constructs the content of this from data of length data_len.

Parameters:

this

a DataWrapper

data

data to set

data_len

length of data

cancellable

optional Cancellable object, or null

Returns:

true on success, false on error




2022 vala-language.org