XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
Swift_Mime_ContentEncoder_QpContentEncoder Class Reference
Inheritance diagram for Swift_Mime_ContentEncoder_QpContentEncoder:
Inheritance graph

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()
 

Detailed Description

Definition at line 23 of file QpContentEncoder.php.

Constructor & Destructor Documentation

Swift_Mime_ContentEncoder_QpContentEncoder::__construct ( Swift_CharacterStream  $charStream,
Swift_StreamFilter  $filter = null 
)

Creates a new QpContentEncoder for the given CharacterStream.

Parameters
Swift_CharacterStream$charStreamto use for reading characters
Swift_StreamFilter$filterif canonicalization should occur

Definition at line 32 of file QpContentEncoder.php.

References __construct().

Here is the call graph for this function:

Member Function Documentation

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.

Parameters
Swift_OutputByteStream$osoutput stream
Swift_InputByteStream$isinput 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().

Here is the call graph for this function:

Swift_Mime_ContentEncoder_QpContentEncoder::getName ( )

Get the name of this encoding scheme. Returns the string 'quoted-printable'.

Returns
string

Implements Swift_Mime_ContentEncoder.

Definition at line 112 of file QpContentEncoder.php.


The documentation for this class was generated from the following file: