Search
Decode bytes as type
bytes
type
@spec decode(bytes :: binary(), type :: term()) :: {:ok, term()} | :error
@spec decode_value(bytes :: binary(), type :: term()) :: {term(), binary()} | :error