as_nanoarrow_buffer: Convert an object to a nanoarrow buffer

View source: R/buffer.R

as_nanoarrow_bufferR Documentation

Convert an object to a nanoarrow buffer

Description

Convert an object to a nanoarrow buffer

Usage

as_nanoarrow_buffer(x, ...)

Arguments

x

An object to convert to a buffer

...

Passed to S3 methods

Value

An object of class 'nanoarrow_buffer'

Examples

array <- as_nanoarrow_array(c(NA, 1:4))
array$buffers
as.raw(array$buffers[[1]])
as.raw(array$buffers[[2]])
convert_buffer(array$buffers[[1]])
convert_buffer(array$buffers[[2]])


nanoarrow documentation built on June 22, 2024, 9:37 a.m.