segment_size: Get the size of a segment

View source: R/segment.R

segment_sizeR Documentation

Get the size of a segment

Description

Get the size of a segment

Usage

segment_size(x)

Arguments

x

A shard_segment object

Value

Size in bytes as a numeric scalar.

Examples


seg <- segment_create(1024)
segment_size(seg)
segment_close(seg)


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