Constructor
ArrowMutableBuffernew
since: 0.3.0
Declaration [src]
GArrowMutableBuffer*
garrow_mutable_buffer_new (
guint8* data,
gint64 size
)
Parameters
data
-
Type: An array of
guint8
Data for the buffer. They aren’t owned by the new buffer. You must not free the data while the new buffer is alive.
The length of the array is specified in the size
argument.The data is owned by the caller of the function. size
-
Type:
gint64
The number of bytes of the data.
Return value
Type: GArrowMutableBuffer
A newly created GArrowMutableBuffer
.
The caller of the function takes ownership of the data, and is responsible for freeing it. |