Method

ArrowMutableBufferslice

since: 0.3.0

Declaration [src]

GArrowMutableBuffer*
garrow_mutable_buffer_slice (
  GArrowMutableBuffer* buffer,
  gint64 offset,
  gint64 size
)

Description

No description available.

Available since: 0.3.0

Parameters

offset

Type: gint64

An offset in the buffer data in byte.

size

Type: gint64

The number of bytes of the sliced data.

Return value

Type: GArrowMutableBuffer

A newly created GArrowMutableBuffer that shares data of the base GArrowMutableBuffer. The created GArrowMutableBuffer has data start with offset from the base buffer data and are the specified bytes size.

The caller of the method takes ownership of the data, and is responsible for freeing it.