Learn R Programming

qs (version 0.25.1.1)

base91_encode: basE91 Encoding

Description

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

Usage

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/