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

Public Member Functions

 charsetChanged ($charset)
 
 encodeString ($string, $firstLineOffset=0, $maxLineLength=0)
 

Detailed Description

Definition at line 19 of file Base64Encoder.php.

Member Function Documentation

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.

Parameters
string$stringto encode
int$firstLineOffset
int$maxLineLength,optional,0indicates the default of 76 bytes
Returns
string

Implements Swift_Encoder.

Definition at line 32 of file Base64Encoder.php.


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