Method

ArrowBuffercopy

Declaration [src]

GArrowBuffer*
garrow_buffer_copy (
  GArrowBuffer* buffer,
  gint64 start,
  gint64 size,
  GError** error
)

Description

No description available.
Available since:0.3.0

Parameters

start gint64
 

An offset of data to be copied in byte.

size gint64
 

The number of bytes to be copied from the start.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: GArrowBuffer
 

A newly copied GArrowBuffer on success, NULL on error.

 The caller of the method takes ownership of the data, and is responsible for freeing it.
 The return value can be NULL.