XOOPS RMCommon Utilities
2.1.8.91RC
|
Public Member Functions | |
__construct (Swift_CharacterStream $charStream, Swift_StreamFilter $filter=null) | |
encodeByteStream (Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset=0, $maxLineLength=0) | |
getName () | |
Public Member Functions inherited from Swift_Encoder_QpEncoder | |
__construct (Swift_CharacterStream $charStream, Swift_StreamFilter $filter=null) | |
charsetChanged ($charset) | |
encodeString ($string, $firstLineOffset=0, $maxLineLength=0) | |
Additional Inherited Members | |
Protected Member Functions inherited from Swift_Encoder_QpEncoder | |
_encodeByteSequence (array $bytes, &$size) | |
_nextSequence ($size=4) | |
_standardize ($string) | |
Protected Attributes inherited from Swift_Encoder_QpEncoder | |
$_charStream | |
$_filter | |
Static Protected Attributes inherited from Swift_Encoder_QpEncoder | |
static | $_qpMap |
static | $_safeMap = array() |
Definition at line 23 of file QpContentEncoder.php.
Swift_Mime_ContentEncoder_QpContentEncoder::__construct | ( | Swift_CharacterStream | $charStream, |
Swift_StreamFilter | $filter = null |
||
) |
Creates a new QpContentEncoder for the given CharacterStream.
Swift_CharacterStream | $charStream | to use for reading characters |
Swift_StreamFilter | $filter | if canonicalization should occur |
Definition at line 32 of file QpContentEncoder.php.
References __construct().
Swift_Mime_ContentEncoder_QpContentEncoder::encodeByteStream | ( | Swift_OutputByteStream | $os, |
Swift_InputByteStream | $is, | ||
$firstLineOffset = 0 , |
|||
$maxLineLength = 0 |
|||
) |
Encode stream $in to stream $out. QP encoded strings have a maximum line length of 76 characters. If the first line needs to be shorter, indicate the difference with $firstLineOffset.
Swift_OutputByteStream | $os | output stream |
Swift_InputByteStream | $is | input stream |
int | $firstLineOffset | |
int | $maxLineLength |
Implements Swift_Mime_ContentEncoder.
Definition at line 48 of file QpContentEncoder.php.
References Swift_Encoder_QpEncoder\_encodeByteSequence(), Swift_Encoder_QpEncoder\_nextSequence(), Swift_Encoder_QpEncoder\_standardize(), and Swift_InputByteStream\write().
Swift_Mime_ContentEncoder_QpContentEncoder::getName | ( | ) |
Get the name of this encoding scheme. Returns the string 'quoted-printable'.
Implements Swift_Mime_ContentEncoder.
Definition at line 112 of file QpContentEncoder.php.