Handles Base 64 Encoding in Swift Mailer.
package | Swift |
---|---|
subpackage | Encoder |
author | Chris Corbyn |
charsetChanged($charset)
encodeString(string $string, int $firstLineOffset, $maxLineLength) : string
Base64 encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.
string
to encode
int
string