mail v0.2.2 Mail.Encoder

Primary encoding/decoding bottleneck for the library.

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

Link to this section Summary

Link to this section Functions

Link to this function

decode(data, encoding)

Specs

decode(data :: binary(), encoding :: String.t()) :: binary()
Link to this function

encode(data, encoding)

Specs

encode(data :: binary(), encoding :: String.t()) :: binary()
Link to this function

encoder_for(encoding)

Specs

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