zubin: Read and Write Structured Binary Data

Describe a fixed binary record once, as a layout, and read or write millions of them in one vectorised call: integers from 8 to 128 bits, the half, single and double precision floats of the IEEE 754 (Institute of Electrical and Electronics Engineers) standard, 'bfloat16' (brain floating point), complex numbers, booleans, fixed bytes and fixed strings, padding, arrays and 'C' struct alignment, in either byte order. Typed codecs convert whole vectors to and from bytes at every width and byte order, refusing rather than rounding a value that does not fit, and a growable byte builder with a hard cap appends without quadratic copying. The same buffer, cursor, typed reads and writes and layout kernels are a header-only 'C' library that other packages use through 'LinkingTo' alone.

Version: 0.1.0
Depends: R (≥ 4.1)
LinkingTo: zufast (≥ 0.1.0)
Suggests: bit64, knitr, rmarkdown, testthat (≥ 3.0.0), withr
Published: 2026-11-11
DOI: 10.32614/CRAN.package.zubin (may not be active yet)
Author: Pedro Baltazar [aut, cre, cph]
Maintainer: Pedro Baltazar <pedrobtz at gmail.com>
BugReports: https://github.com/pedrobtz/zubin/issues
License: MIT + file LICENSE
URL: https://pedrobtz.github.io/zubin/, https://github.com/pedrobtz/zubin
NeedsCompilation: yes
Language: en-GB
Materials: README, NEWS
CRAN checks: zubin results

Documentation:

Reference manual: zubin.html , zubin.pdf
Vignettes: Structured binary data with zubin (source, R code)

Downloads:

Package source: zubin_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): zubin_0.1.0.tgz, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=zubin to link to this page.

mirror server hosted at Truenetwork, Russian Federation.