View Source Mail.Encoder (mail v0.4.0)

Primary encoding/decoding bottleneck for the library.

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

Summary

Functions

@spec decode(data :: binary(), encoding :: String.t()) :: binary()
@spec encode(data :: binary(), encoding :: String.t()) :: binary()
@spec encoder_for(encoding :: String.t() | atom()) :: atom()