Method | Description | |
---|---|---|
__construct ( null | string $charset = null ) | ||
charsetChanged ( string $charset ) | Notify this observer that the entity's charset has changed. | |
encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset, integer $maxLineLength ) | Encode $in to $out. | |
encodeString ( string $string, integer $firstLineOffset, integer $maxLineLength ) : string | Encode a given string to produce an encoded string. | |
getName ( ) : string | Get the MIME name of this content encoding scheme. |
Method | Description | |
---|---|---|
_standardize ( string $string ) : string | Make sure CRLF is correct and HT/SPACE are in valid places. |
public __construct ( null | string $charset = null ) | ||
$charset | null | string |
protected _standardize ( string $string ) : string | ||
$string | string | |
return | string |
public charsetChanged ( string $charset ) | ||
$charset | string |
public encodeByteStream ( Swift_OutputByteStream $os, Swift_InputByteStream $is, integer $firstLineOffset, integer $maxLineLength ) | ||
$os | Swift_OutputByteStream | to read from |
$is | Swift_InputByteStream | to write to |
$firstLineOffset | integer | |
$maxLineLength | integer | 0 indicates the default length for this encoding |