[ Web Proxy ]
URL:
Viewing: https://arrow.apache.org/docs/python/generated/../integration/../../r/reference/Buffer-class.html [Back]  [Original]

Buffer class Buffer Arrow R Package Skip to contents
Arrow R Package 25.0.1

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

Factory

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

Methods

  • $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

Examples

my_buffer <- buffer(c(1, 2, 3, 4))
my_buffer$is_mutable
#> [1] TRUE
my_buffer$ZeroPadding()
my_buffer$size
#> [1] 32
my_buffer$capacity
#> [1] 32

On this page


Web Proxy Viewer  |  New URL  |  Original Page