Base.encode64

You're seeing just the function encode64, go back to Base module for more information.
Link to this function

encode64(data, opts \\ [])

View Source

Specs

encode64(binary(), keyword()) :: binary()

Encodes a binary string into a base 64 encoded string.

Accepts padding: false option which will omit padding from the output string.

Examples

iex> Base.encode64("foobar")
"Zm9vYmFy"

iex> Base.encode64("foob")
"Zm9vYg=="

iex> Base.encode64("foob", padding: false)
"Zm9vYg"