A Buffer is an object containing a pointer to a piece of contiguous memory with a particular size.
buffer(x)
| x | R object. Only raw, numeric and integer vectors are currently supported |
|---|
an instance of Buffer that borrows memory from x
buffer() lets you create an arrow::Buffer from an R object
$is_mutable : is this buffer mutable?
$ZeroPadding() : zero bytes in padding, i.e. bytes between size and capacity
$size : size in memory, in bytes
$capacity: possible capacity, in bytes
#> [1] TRUEmy_buffer$ZeroPadding() my_buffer$size#> [1] 32my_buffer$capacity#> [1] 32