Encodes a character string, raw vector or other object to base64 encoding.
Usage
base64enc(x, convert = TRUE)
Value
A character string or raw vector depending on the value of convert.
Arguments
x
an object.
convert
logical TRUE to encode to a character string or FALSE to a
raw vector.
Details
A character string or raw vector (with no attributes) is encoded as is,
whilst all other objects are first serialized (using R serialisation version
3, big-endian representation).