zucbor-package: zucbor: Deterministic and Secure CBOR Encoding and Decoding

zucbor-packageR Documentation

zucbor: Deterministic and Secure CBOR Encoding and Decoding

Description

Encodes R values as Concise Binary Object Representation (CBOR, RFC 8949; Bormann and Hoffman (2020) \Sexpr[results=rd]{tools:::Rd_expr_doi("10.17487/RFC8949")}) and decodes CBOR into ordinary R vectors and lists. Decoding checks the whole input against configurable depth, size and item limits before any R object is built, so untrusted input from network peers and devices cannot drive large allocations. Encoding is deterministic: identical R objects always produce identical bytes. Uses a bundled copy of the 'TinyCBOR' library (https://github.com/intel/tinycbor), so no system library is required.

Author(s)

Maintainer: Pedro Baltazar pedrobtz@gmail.com [copyright holder]

Authors:

  • Pedro Baltazar pedrobtz@gmail.com [copyright holder]

  • Thiago Macieira (Author of the bundled TinyCBOR library)

Other contributors:

  • Intel Corporation (TinyCBOR, bundled in src/vendor/tinycbor) [copyright holder]

See Also

Useful links:


zucbor documentation built on Oct. 21, 2026, 5:14 p.m.