gByteArrayFromD

Template to convert a D ubyte array to a GByteArray for passing to C functions

gByteArrayFromD
(
ubyte[] a
)

Parameters

a ubyte[]

The D array

Return Value

Type: GByteArray*

New GArray which should be freed with containerFree!() template (if ownership not taken by C code)