gBytesToD

Convert a GLib GBytes to a D array.

ubyte[]
gBytesToD

Parameters

ownership

The ownership of the GBytes, None (default): do nothing with it, Container/Full: unref

gBytes GBytes*

The GBytes instance

Return Value

Type: ubyte[]

D array of the given type