Interface Swift_Transport_IoBuffer
Buffers input and output to a resource.
- Swift_Transport_IoBuffer implements Swift_InputByteStream, Swift_OutputByteStream
Direct known implementers
Swift_Transport_StreamBuffer
Package: Swift\Transport
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Transport/IoBuffer.php
Author: Chris Corbyn
Located at classes/swiftmailer/lib/classes/Swift/Transport/IoBuffer.php
public
|
#
initialize( array $params )
Perform any initialization needed, using the given $params. Parameters will vary depending upon the type of IoBuffer used. |
public
|
|
public
|
|
public
|
#
setWriteTranslations( array $replacements )
Set an array of string replacements which should be made on data written to the buffer. This could replace LF with CRLF for example. |
public
string
|
bind(),
commit(),
flushBuffers(),
unbind(),
write()
|
read(),
setReadPointer()
|
integer |
TYPE_SOCKET
A socket buffer over TCP |
#
0x0001
|
integer |
TYPE_PROCESS
A process buffer with I/O support |
#
0x0010
|