Interface for all Encoder schemes.

package Swift
subpackage Encoder
author Chris Corbyn

 Methods

Notify this observer that the entity's charset has changed.

charsetChanged(string $charset) 
Inherited
inherited_from \Swift_Mime_CharsetObserver::charsetChanged()

Parameters

$charset

string

Encode a given string to produce an encoded string.

encodeString(string $string, int $firstLineOffset, int $maxLineLength) : string

Parameters

$string

string

$firstLineOffset

int

if first line needs to be shorter

$maxLineLength

int
  • 0 indicates the default length for this encoding

Returns

string