Method

AravisBufferget_data

Declaration [src]

void*
arv_buffer_get_data (
  ArvBuffer* buffer,
  size_t* size
)

Description [src]

Buffer data accessor.

Available since:0.4.0

Parameters

size size_t*
 

Location to store data size, or NULL.

 The argument will be set by the function.
 The argument can be NULL.
 The instance takes ownership of the data, and is responsible for freeing it.

Return value

Returns: An array of guint8
 

A pointer to the buffer data.

 The length of the array is in the size argument.
 The data is owned by the instance.