buffer_info: Get Buffer Info

View source: R/buffer.R

buffer_infoR Documentation

Get Buffer Info

Description

Returns information about a buffer.

Usage

buffer_info(x)

Arguments

x

A shard_buffer object.

Value

A named list with buffer properties: type, dim, n, bytes, backing, path, and readonly.

Examples


buf <- buffer("integer", dim = c(5, 5))
buffer_info(buf)
buffer_close(buf)


shard documentation built on April 3, 2026, 9:08 a.m.