Base.decode64-exclamation-mark
You're seeing just the function
decode64-exclamation-mark
, go back to Base module for more information.
Specs
Decodes a base 64 encoded string into a binary string.
Accepts ignore: :whitespace
option which will ignore all the
whitespace characters in the input string.
Accepts padding: false
option which will ignore padding from
the input string.
An ArgumentError
exception is raised if the padding is incorrect or
a non-alphabet character is present in the string.
Examples
iex> Base.decode64!("Zm9vYmFy")
"foobar"
iex> Base.decode64!("Zm9vYmFy\n", ignore: :whitespace)
"foobar"
iex> Base.decode64!("Zm9vYg==")
"foob"
iex> Base.decode64!("Zm9vYg", padding: false)
"foob"