Method

AravisBufferget_chunk_data

Declaration [src]

void*
arv_buffer_get_chunk_data (
  ArvBuffer* buffer,
  guint64 chunk_id,
  size_t* size
)

Description [src]

Chunk data accessor.

Available since:0.4.0

Parameters

chunk_id guint64
 

Chunk id.

size size_t*
 

Location to store chunk data size, or NULL.

 The argument will be set by the function.
 The argument can be set to NULL.

Return value

Returns: An array of guint8
 

A pointer to the chunk data.

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