ByteArray
Allocate a new ByteArray.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Allocate a new ByteArray using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
The AutofreeScope to allocate this structure in.
Allocate a new ByteArray.
This instance will be allocated on the native heap and automatically freed when this class instance is garbage collected.
Parameters
the number of elements in the #GByteArray
Allocate a new ByteArray using the provided AutofreeScope.
The AutofreeScope manages the allocation lifetime. The most common usage is with memScoped
.
Parameters
the number of elements in the #GByteArray
The AutofreeScope to allocate this structure in.