For a builder, the number of bytes it holds; for a layout, the size of one record.
Usage
bin_size(x, ...)
# S3 method for class 'zubin_builder'
bin_size(x, ...)
# S3 method for class 'zubin_layout'
bin_size(x, ...)Examples
b <- bin_builder()
bin_put(b, as.raw(1:3))
bin_size(b)
#> [1] 3