public Bytes.with_free_func ([CCode (array_length_type = "gsize")] owned uint8[] data, GLib.DestroyNotify? free_func = GLib.g_free);
public Bytes.from_bytes (GLib.Bytes bytes, size_t offset, size_t length);
+ [CCode (cname = "g_bytes_new_with_free_func", simple_generics = true)]
+ public static Bytes new_with_owner<T> ([CCode (array_length_type = "gsize")] uint8[] data, [CCode (destroy_notify_pos = 1.9)] owned T? owner = null);
+
[CCode (array_length_type = "gsize")]
public unowned uint8[] get_data ();
public size_t get_size ();