Method
ArrowBufferslice
since: 0.3.0
Declaration [src]
GArrowBuffer*
garrow_buffer_slice (
  GArrowBuffer* buffer,
  gint64 offset,
  gint64 size
)
Parameters
- offset
- 
            Type: gint64An offset in the buffer data in byte. 
- size
- 
            Type: gint64The number of bytes of the sliced data. 
Return value
Type: GArrowBuffer
A newly created GArrowBuffer that shares
  data of the base GArrowBuffer. The created GArrowBuffer 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. |