raw_as_char {argon2} | R Documentation |
Convert the literal bytes of a raw (unsigned char*) to a
string representation. This is different from R's
rawToChar()
. See examples for details.
raw_as_char(raw, upper = TRUE, spaces = FALSE)
raw |
A raw vector. |
upper |
Should hex digits A-F be given in uppercase? |
spaces |
Should the str use spaces? |
A character string.
## Not run:
library(argon2)
str <- "some text"
raw <- charToRaw(str)
raw
rawToChar(raw)
raw_as_char(raw)
## End(Not run)