Package: zubin 0.1.0.9000
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.
Authors:
zubin_0.1.0.9000.tar.gz
zubin_0.1.0.9000.zip(r-4.7-x86_64)zubin_0.1.0.9000.zip(r-4.7-arm64)zubin_0.1.0.9000.zip(r-4.6-x86_64)zubin_0.1.0.9000.zip(r-4.6-arm64)zubin_0.1.0.9000.zip(r-4.5-x86_64)
zubin_0.1.0.9000.tgz(r-4.6-x86_64)zubin_0.1.0.9000.tgz(r-4.6-arm64)zubin_0.1.0.9000.tgz(r-4.5-x86_64)zubin_0.1.0.9000.tgz(r-4.5-arm64)
zubin_0.1.0.9000.tar.gz(r-4.7-arm64)zubin_0.1.0.9000.tar.gz(r-4.7-x86_64)zubin_0.1.0.9000.tar.gz(r-4.6-arm64)zubin_0.1.0.9000.tar.gz(r-4.6-x86_64)
zubin_0.1.0.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
zubin/json (API)
| # Install 'zubin' in R: |
| install.packages('zubin', repos = c('https://pedrobtz.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/pedrobtz/zubin/issues
Pkgdown/docs site:https://pedrobtz.github.io
Last updated from:f17425d850. Checks:15 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 116 | ||
| linux-devel-x86_64 | OK | 123 | ||
| source / vignettes | OK | 167 | ||
| linux-release-arm64 | OK | 93 | ||
| linux-release-x86_64 | OK | 115 | ||
| macos-release-arm64 | OK | 106 | ||
| macos-release-x86_64 | OK | 261 | ||
| macos-oldrel-arm64 | OK | 118 | ||
| macos-oldrel-x86_64 | OK | 171 | ||
| windows-devel-arm64 | OK | 220 | ||
| windows-devel-x86_64 | OK | 266 | ||
| windows-release-arm64 | OK | 192 | ||
| windows-release-x86_64 | OK | 219 | ||
| windows-oldrel-x86_64 | OK | 198 | ||
| wasm-release | OK | 90 |
Exports:bin_builderbin_decodebin_diffbin_encodebin_hash_objectbin_hexdumpbin_infobin_layoutbin_packbin_putbin_reservebin_resetbin_serializebin_sizebin_takebin_unpackbin_unserialize
Dependencies:zufast
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| zubin: Read and Write Structured Binary Data | zubin-package zubin |
| A growable byte buffer | as.raw.zubin_builder bin_builder bin_reserve bin_reset bin_take |
| Read a vector of one type from bytes | bin_decode |
| Write a vector of one type to bytes | bin_encode |
| A content fingerprint of an R object | bin_hash_object |
| Show bytes as a hex dump, and find where two raw vectors differ | bin_diff bin_hexdump |
| Information about the compiled zubin headers | bin_info |
| Describe a binary record | bin_layout |
| Write records to bytes | bin_pack |
| Append bytes or strings to a builder | bin_put |
| Serialise R objects into a builder, and back from bytes at an offset | bin_serialize bin_unserialize |
| The size of a builder or a layout, in bytes | bin_size bin_size.zubin_builder bin_size.zubin_layout |
| Read records from bytes | bin_unpack |
| Conditions raised by zubin | zubin-conditions |
