powered by
A Buffer is an object containing a pointer to a piece of contiguous memory with a particular size.
buffer(x)
R object. Only raw, numeric and integer vectors are currently supported
an instance of Buffer that borrows memory from x
Buffer
x
buffer() lets you create an arrow::Buffer from an R object
buffer()
arrow::Buffer
$is_mutable : is this buffer mutable?
$is_mutable
$ZeroPadding() : zero bytes in padding, i.e. bytes between size and capacity
$ZeroPadding()
$size : size in memory, in bytes
$size
$capacity: possible capacity, in bytes
$capacity
# NOT RUN { my_buffer <- buffer(c(1, 2, 3, 4)) my_buffer$is_mutable my_buffer$ZeroPadding() my_buffer$size my_buffer$capacity # }
Run the code above in your browser using DataLab