/framework/vendor/swift/lib/classes/Swift/Mime/ContentEncoder.php
PHP | 41 lines | 8 code | 6 blank | 27 comment | 0 complexity | d8da56babd5c363ae3a59c7c0890a865 MD5 | raw file
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//@require 'Swift/Encoder.php'; 12//@require 'Swift/InputByteStream.php'; 13//@require 'Swift/OutputByteStream.php'; 14 15/** 16 * Interface for all Transfer Encoding schemes. 17 * @package Swift 18 * @subpackage Mime 19 * @author Chris Corbyn 20 */ 21interface Swift_Mime_ContentEncoder extends Swift_Encoder 22{ 23 24 /** 25 * Encode $in to $out. 26 * @param Swift_OutputByteStream $os to read from 27 * @param Swift_InputByteStream $is to write to 28 * @param int $firstLineOffset 29 * @param int $maxLineLength - 0 indicates the default length for this encoding 30 */ 31 public function encodeByteStream( 32 Swift_OutputByteStream $os, Swift_InputByteStream $is, $firstLineOffset = 0, 33 $maxLineLength = 0); 34 35 /** 36 * Get the MIME name of this content encoding scheme. 37 * @return string 38 */ 39 public function getName(); 40 41}