get_data


Description:

[ CCode ( array_length_type = "gsize" ) ]
public unowned uint8[]? get_data ()

Get the byte data in the Bytes.

This data should not be modified.

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

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

Parameters:

this

a Bytes

size

location to return size of byte data

Returns:

a pointer to the byte data, or null