base91_encode: basE91 Encoding

Description Usage Arguments Details References

View source: R/RcppExports.R

Description

Encodes binary data (a raw vector) as ascii text using basE91 encoding format

Usage

1
base91_encode(rawdata)

Arguments

rawdata

A raw vector

Details

basE91 (capital E for stylization) is a binary to ascii encoding format created by Joachim Henke in 2005. The encoding has a dictionary using 91 out of 94 printable ASCII characters; excludes - (dash), \ (backslash) and ' (single quote). The overhead (extra bytes used relative to binary) is 22.97% on average. In comparison, base 64 encoding has an overhead of 33.33%. Because the dictionary includes double quotes, basE91 encoded data must be single quoted when stored as a string in R.

References

http://base91.sourceforge.net/


qs documentation built on Nov. 6, 2021, 1:07 a.m.