Base.encode16

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

encode16(data, opts \\ [])

View Source

Specs

encode16(binary(), keyword()) :: binary()

Encodes a binary string into a base 16 encoded string.

Options

The accepted options are:

  • :case - specifies the character case to use when encoding

The values for :case can be:

  • :upper - uses upper case characters (default)
  • :lower - uses lower case characters

Examples

iex> Base.encode16("foobar")
"666F6F626172"

iex> Base.encode16("foobar", case: :lower)
"666f6f626172"