enver v0.2.0 Enver.BinaryParser

Link to this section Summary

Functions

Converts the given binary to an binary (aka it doesn’t do much at all)

Link to this section Types

Link to this type valid()
valid() :: {:ok, String.t()}

Link to this section Functions

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

Converts the given binary to an binary (aka it doesn’t do much at all).

iex(1)> Enver.BinaryParser.parse("potato", %{type: :binary})
{:ok, "potato"}