4
* This file is part of SwiftMailer.
5
* (c) 2004-2009 Chris Corbyn
7
* For the full copyright and license information, please view the LICENSE
8
* file that was distributed with this source code.
11
//@require 'Swift/Mime/CharsetObserver.php';
14
* Interface for all Encoder schemes.
17
* @author Chris Corbyn
19
interface Swift_Encoder extends Swift_Mime_CharsetObserver
23
* Encode a given string to produce an encoded string.
24
* @param string $string
25
* @param int $firstLineOffset if first line needs to be shorter
26
* @param int $maxLineLength - 0 indicates the default length for this encoding
29
public function encodeString($string, $firstLineOffset = 0,