XOOPS RMCommon Utilities  2.1.8.91RC
 All Classes Namespaces Files Functions Variables
CharacterStream.php
Go to the documentation of this 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_once dirname(__FILE__) . '/OutputByteStream.php';
12 require_once dirname(__FILE__) . '/CharacterReaderFactory.php';
13 
14 
25 {
26 
31  public function setCharacterSet($charset);
32 
37  public function setCharacterReaderFactory(
39 
44  public function importByteStream(Swift_OutputByteStream $os);
45 
51  public function importString($string);
52 
59  public function read($length);
60 
67  public function readBytes($length);
68 
73  public function write($chars);
74 
79  public function setPointer($charOffset);
80 
84  public function flushContents();
85 
86 }