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.
12
* Processes bytes as they pass through a stream and performs filtering.
14
* @author Chris Corbyn
16
interface Swift_StreamFilter
20
* Based on the buffer given, this returns true if more buffering is needed.
21
* @param mixed $buffer
24
public function shouldBuffer($buffer);
27
* Filters $buffer and returns the changes.
28
* @param mixed $buffer
31
public function filter($buffer);