Create a custom encoding engine
new_config(
encode_padding = TRUE,
decode_padding_trailing_bits = FALSE,
decode_padding_mode = c("canonical", "indifferent", "none")
)default TRUE add 1-2 trailing = to pad results
default FALSE. "If invalid trailing bits are present and this is true, those bits will be silently ignored." (See details for reference).
default "canonical". Other values are "indifferent" and "none". See details for more.
an object of class engine_config
See base64 crate for more details.
# create a new nonsensicle config
new_config(FALSE, TRUE, "none")
#> <engine_config>