package
2.3.1
Repository: https://github.com/zostay/go-email.git
Documentation: pkg.go.dev

# Functions

ApplyTransferDecoding returns an io.Reader that will modify incoming bytes according to the transfer encoding detected from the given header.
ApplyTransferEncoding is a helper that will check the given header to see if transfer encoding ought to be performed.
NewAsIsDecoder returns an io.Reader that reads bytes as-is.
NewAsIsEncoder returns an io.WriteCloser that writes bytes as-is.
NewBase64Decoder will translate all bytes read from the given io.Reader as base64 and return the binary data to the returned io.Reader.
NewBase64Encoder will translate all bytes written to the returned io.WriteCloser into base64 encoding and write those to the give io.Writer.
NewQuotedPrintableDecoder will read bytes from the given io.Reader and return them in the returned io.Reader after decoding them from quoted-printable format.
NewQuotedPrintableEncoder will transform all bytes written to the returned io.WriteCloser into quoted-printable form and write them to the given io.Writer.

# Constants

bytes will be transformed between base64 and binary data.
bytes will be left as-is.
bytes will be left as-is.
bytes will be left as-is.
bytes will be left as-is.
bytes will be transformed between quoted-printable and binary data.

# Variables

AsIsTranscoder is just a shortcut to a no-op encoder/decoder.
Transcodings defines the supported Content-transfer-encodings and how to handle them.

# Structs

Transcoding is a pair of functions that can be used to transform to and from a transfer encoding.