Creates a byte array containing the data.
After this call, data belongs to the GLib.ByteArray and may no longer be
modified by the caller. The memory of data has to be dynamically
allocated and will eventually be freed with GLib.free.
Do not use it if len is greater than G_MAXUINT.
GLib.ByteArray stores the length of its data in guint, which may be shorter
than gsize.
Creates a byte array containing the
data. After this call,databelongs to the GLib.ByteArray and may no longer be modified by the caller. The memory ofdatahas to be dynamically allocated and will eventually be freed with GLib.free.Do not use it if
lenis greater thanG_MAXUINT. GLib.ByteArray stores the length of its data inguint, which may be shorter thangsize.