Buffer-class function

Buffer class

Buffer class

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

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 my_buffer$ZeroPadding() my_buffer$size my_buffer$capacity
  • Maintainer: Jonathan Keane
  • License: Apache License (>= 2.0)
  • Last published: 2025-02-26