gvdb_table_new_from_bytes

GvdbTable* gvdb_table_new_from_bytes (GBytes* bytes,
                                      gboolean trusted);
  

Creates a new Gvdb.Table from the contents of bytes.

This call can fail if the header contained in bytes is invalid or if bytes is empty; if so, %G_FILE_ERROR_INVAL will be returned.

You should call gvdb_table_free on the return result when you no longer require it.

bytes

the GLib.Bytes with the data

trusted

if the contents of bytes are trusted

Returns

a new Gvdb.Table