TYPO3
7.6
|
Public Member Functions | |
encodeString ($string, $firstLineOffset=0, $maxLineLength=0) | |
charsetChanged ($charset) | |
Handles Base 64 Encoding in Swift Mailer.
Definition at line 16 of file Base64Encoder.php.
charsetChanged | ( | $charset | ) |
Does nothing.
Implements Swift_Mime_CharsetObserver.
Definition at line 55 of file Base64Encoder.php.
encodeString | ( | $string, | |
$firstLineOffset = 0 , |
|||
$maxLineLength = 0 |
|||
) |
Takes an unencoded string and produces a Base64 encoded string from it.
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 | $string | to encode |
int | $firstLineOffset | |
int | $maxLineLength | optional, 0 indicates the default of 76 bytes |
Implements Swift_Encoder.
Definition at line 31 of file Base64Encoder.php.