enver v0.2.0 Enver.CharlistParser

Link to this section Summary

Functions

Converts the given binary to an charlist

Link to this section Types

Link to this type valid()
valid() :: {:ok, charlist()}

Link to this section Functions

Link to this function parse(val, map)
parse(val(), opts()) :: valid()

Converts the given binary to an charlist.

iex(1)> Enver.CharlistParser.parse("potato", %{type: :charlist})
{:ok, 'potato'}