Movatterモバイル変換


[0]ホーム

URL:


Skip to contents

Buffer class

Source:R/buffer.R
Buffer-class.Rd

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

Factory

buffer() lets you create anarrow::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] TRUEmy_buffer$ZeroPadding()my_buffer$size#> [1] 32my_buffer$capacity#> [1] 32

[8]ページ先頭

©2009-2025 Movatter.jp