Skip to contents

Layouts

bin_layout()
Describe a binary record
bin_size()
The size of a builder or a layout, in bytes

Records

bin_unpack()
Read records from bytes
bin_pack()
Write records to bytes

Codecs

bin_decode()
Read a vector of one type from bytes
bin_encode()
Write a vector of one type to bytes

The builder

bin_builder() bin_reserve() bin_reset() bin_take() as.raw(<zubin_builder>)
A growable byte buffer
bin_put()
Append bytes or strings to a builder

Inspection

bin_hexdump() bin_diff()
Show bytes as a hex dump, and find where two raw vectors differ

Serialization

bin_serialize() bin_unserialize()
Serialise R objects into a builder, and back from bytes at an offset
bin_hash_object()
A content fingerprint of an R object

The package

bin_info()
Information about the compiled zubin headers
zubin-conditions
Conditions raised by zubin
zubin zubin-package
zubin: Read and Write Structured Binary Data