util_load_raw_messages_from_bytes


Description:


public GenericArray<HashTable<void*,void*>> util_load_raw_messages_from_bytes (Bytes bytes) throws Error

A [class@GPtrArray] containing the raw message contents.

This variant exists for consumers that want to avoid depending on glib-object. Should be freed with [method@g_ptr_array_unref]

If the data is empty or otherwise malformed, null will be returned and an appropriate throws be set.

Parameters:

bytes

The data

Returns:

A (possibly empty) pointer array containing 'a{sv}' from which [class@LcbMessage]s can be created, see also [ method@lcb_util_load_messages_from_bytes].


Namespace: Lcb