XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
charsetChanged ($charset) | |
encodeString ($string, $firstLineOffset=0, $maxLineLength=0) | |
Definition at line 19 of file Base64Encoder.php.
Swift_Encoder_Base64Encoder::charsetChanged | ( | $charset | ) |
Does nothing.
Implements Swift_Mime_CharsetObserver.
Definition at line 59 of file Base64Encoder.php.
Swift_Encoder_Base64Encoder::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 32 of file Base64Encoder.php.