[ Index ]

MailPress 7.2

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    




/mp-includes/composer/vendor/swiftmailer/swiftmailer/lib/classes/Swift/ByteStream/ -> AbstractFilterableInputStream.php (summary)

Provides the base functionality for an InputStream supporting filters.

Author: Chris Corbyn
File Size: 176 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions


Functions that are not part of a class:

addFilter(Swift_StreamFilter $filter, $key)   X-Ref
Add a StreamFilter to this InputByteStream.

param: string $key

removeFilter($key)   X-Ref
Remove an already present StreamFilter based on its $key.

param: string $key

write($bytes)   X-Ref
Writes $bytes to the end of the stream.

param: string $bytes
return: int

commit()   X-Ref
For any bytes that are currently buffered inside the stream, force them
off the buffer.

bind(Swift_InputByteStream $is)   X-Ref
Attach $is to this stream.

The stream acts as an observer, receiving all data that is written.
All {@link write()} and {@link flushBuffers()} operations will be mirrored.

unbind(Swift_InputByteStream $is)   X-Ref
Remove an already bound stream.

If $is is not bound, no errors will be raised.
If the stream currently has any buffered data it will be written to $is
before unbinding occurs.

flushBuffers()   X-Ref
Flush the contents of the stream (empty it) and set the internal pointer
to the beginning.

filter($bytes)   X-Ref
No description

doWrite($bytes)   X-Ref
No description

Generated: Tue May 19 15:55:14 2020 Cross-referenced by PHPXref 0.7.1