powered by
Converts a raw vector to its Base64 encoding as a single-element character vector.
rawToBase64(x)
A raw vector.
set.seed(100) result <- rawToBase64(as.raw(runif(19, min=0, max=256))) stopifnot(identical(result, "TkGNDnd7z16LK5/hR2bDqzRbXA=="))
Run the code above in your browser using DataLab