Bytes.getData

Get the byte data in the glib.Bytes This data should not be modified.

This function will always return the same pointer for a given glib.Bytes

NULL may be returned if size is 0. This is not guaranteed, as the glib.Bytes may represent an empty string with data non-NULL and size as 0. NULL will not be returned if size is non-zero.

class Bytes
ubyte[]
getData
()

Return Value

Type: ubyte[]

a pointer to the byte data, or NULL

Meta

Since

2.32