|
0
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
/* |
|
|
4 |
* This file is part of SwiftMailer. |
|
|
5 |
* (c) 2004-2009 Chris Corbyn |
|
|
6 |
* |
|
|
7 |
* For the full copyright and license information, please view the LICENSE |
|
|
8 |
* file that was distributed with this source code. |
|
|
9 |
*/ |
|
|
10 |
|
|
|
11 |
|
|
|
12 |
/** |
|
|
13 |
* Interface for all Transfer Encoding schemes. |
|
|
14 |
* @package Swift |
|
|
15 |
* @subpackage Mime |
|
|
16 |
* @author Chris Corbyn |
|
|
17 |
*/ |
|
|
18 |
interface Swift_Mime_ContentEncoder extends Swift_Encoder |
|
|
19 |
{ |
|
|
20 |
|
|
|
21 |
/** |
|
|
22 |
* Encode $in to $out. |
|
|
23 |
* @param Swift_OutputByteStream $os to read from |
|
|
24 |
* @param Swift_InputByteStream $is to write to |
|
|
25 |
* @param int $firstLineOffset |
|
|
26 |
* @param int $maxLineLength - 0 indicates the default length for this encoding |
|
|
27 |
*/ |
|
|
28 |
public function encodeByteStream( |
|
|
29 |
Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, |
|
|
30 |
$maxLineLength = 0); |
|
|
31 |
|
|
|
32 |
/** |
|
|
33 |
* Get the MIME name of this content encoding scheme. |
|
|
34 |
* @return string |
|
|
35 |
*/ |
|
|
36 |
public function getName(); |
|
|
37 |
|
|
|
38 |
} |