TYPO3 API  SVNRelease
ContentEncoder.php
Go to the documentation of this file.
00001 <?php
00002 
00003 /*
00004  * This file is part of SwiftMailer.
00005  * (c) 2004-2009 Chris Corbyn
00006  *
00007  * For the full copyright and license information, please view the LICENSE
00008  * file that was distributed with this source code.
00009  */
00010 
00011 //@require 'Swift/Encoder.php';
00012 //@require 'Swift/InputByteStream.php';
00013 //@require 'Swift/OutputByteStream.php';
00014 
00015 /**
00016  * Interface for all Transfer Encoding schemes.
00017  * @package Swift
00018  * @subpackage Mime
00019  * @author Chris Corbyn
00020  */
00021 interface Swift_Mime_ContentEncoder extends Swift_Encoder
00022 {
00023 
00024   /**
00025    * Encode $in to $out.
00026    * @param Swift_OutputByteStream $os to read from
00027    * @param Swift_InputByteStream $is to write to
00028    * @param int $firstLineOffset
00029    * @param int $maxLineLength - 0 indicates the default length for this encoding
00030    */
00031   public function encodeByteStream(
00032     Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0,
00033     $maxLineLength = 0);
00034 
00035   /**
00036    * Get the MIME name of this content encoding scheme.
00037    * @return string
00038    */
00039   public function getName();
00040 
00041 }