Encodes binary data (a raw vector) as ASCII text using basE91 encoding format.
base91_encode(rawdata, quote_character = "\"")
A raw vector.
The character to use in the encoding, replacing the double quote character. Must be either a single quote (
basE91 (capital E for stylization) is a binary to ASCII encoding format created by Joachim Henke in 2005.
The overhead (extra bytes used relative to binary) is 22.97% on average. In comparison, base 64 encoding has an overhead of 33.33%.
The original encoding uses a dictionary of 91 out of 94 printable ASCII characters excluding
\ (backslash) and
' (single quote).
The original encoding does include double quote characters, which are less than ideal for strings in R. Therefore,
you can use the
quote_character parameter to substitute dash or single quote.
A string representation of the raw vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.