base64decode | R Documentation |
'base64decode' is a copy of a similar function from the caTools package as this package is about to be archived (07/2018).
base64decode(z, what, size = NA, signed = TRUE, endian = .Platform$endian)
base64encode(x, size = NA, endian = .Platform$endian)
z |
The base64 encoded string. |
what |
Define output type of z (e.g. 'numeric'). |
size |
Encoding size (provide if you know it). |
signed |
Parameter passed through to 'readBin'. |
endian |
Parameter passed through to 'readBin'. |
x |
The value vector to be encoded. |
‘base64decode' will convert base64 encoded strings into R values.#’
Decoded value of z.#'
## Not run:
# you need to have the bitops package installed to run the example
x <- c(10, 0.2, 123456)
(z <- base64encode(x = x))
base64decode(z = z, what = "numeric")
(x <- as.integer(x))
(z <- base64encode(x = x))
base64decode(z = z, what = "int")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.