buffer {arrow}R Documentation

Buffer class

Description

A Buffer is an object containing a pointer to a piece of contiguous memory with a particular size.

Usage

buffer(x)

Arguments

x

R object. Only raw, numeric and integer vectors are currently supported

Value

an instance of Buffer that borrows memory from x

Factory

buffer() lets you create an arrow::Buffer from an R object

Methods

Examples


my_buffer <- buffer(c(1, 2, 3, 4))
my_buffer$is_mutable
my_buffer$ZeroPadding()
my_buffer$size
my_buffer$capacity


[Package arrow version 5.0.0.2 Index]