| new_config | R Documentation |
Create a custom encoding engine
new_config(
encode_padding = TRUE,
decode_padding_trailing_bits = FALSE,
decode_padding_mode = c("canonical", "indifferent", "none")
)
encode_padding |
default |
decode_padding_trailing_bits |
default |
decode_padding_mode |
default |
See base64 crate for more details.
There are three modes that can be used for decode_padding_mode argument.
"canonical": padding must consist of 0, 1, or 2 = characters
"none": there must be no padding characters present
"indifferent": canonical padding is used, but omitted padding
characters are also permitted
an object of class engine_config
# create a new nonsensicle config
new_config(FALSE, TRUE, "none")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.