mail v0.2.0 Mail.Encoder

Primary encoding/decoding bottleneck for the library.

Will delegate to the proper encoding/decoding functions based upon name

Summary

Functions

decode(data, encoding)

Specs

decode(data :: binary, encoding :: String.t) :: binary
encode(data, encoding)

Specs

encode(data :: binary, encoding :: String.t) :: binary
encoder_for(encoding)

Specs

encoder_for(encoding :: String.t | atom) :: atom