Description
Swift_ByteStream_AbstractFilterableInputStream
|
--Swift_Transport_StreamBuffer
Located in File: /vendors/swiftMailer/classes/Swift/Transport/StreamBuffer.php
A generic IoBuffer implementation supporting remote sockets and local processes.
Method Detail
Summary:
string
read
(
int $length)
void
setParam
(
string $param,
mixed $value)
Constructor __construct (line 49)
Swift_Transport_StreamBuffer __construct(
Swift_ReplacementFilterFactory
$replacementFactory)
Create a new StreamBuffer using $replacementFactory for transformations.
Parameters
Info
Method initialize (line 60)
void initialize(
$params)
Implementation of:
- Swift_Transport_IoBuffer::initialize()
- Perform any initialization needed, using the given $params.
Perform any initialization needed, using the given $params.
Parameters will vary depending upon the type of IoBuffer used.
Parameters
Info
Method read (line 180)
string read(
int
$length)
Reads $length bytes from the stream into a string and moves the pointer through the stream by $length. If less bytes exist than are requested the remaining bytes are given instead. If no bytes are remaining at all, boolean false is returned.
Parameters
Info
Method readLine (line 163)
string readLine(
int
$sequence)
Implementation of:
- Swift_Transport_IoBuffer::readLine()
- Get a line of output (including any CRLF).
Get a line of output (including any CRLF).
The $sequence number comes from any writes and may or may not be used depending upon the implementation.
Parameters
- int $sequence: of last write to scan from
Info
Method setParam (line 80)
void setParam(
string
$param, mixed
$value)
Implementation of:
- Swift_Transport_IoBuffer::setParam()
- Set an individual param on the buffer (e.g. switching to SSL).
Set an individual param on the buffer (e.g. switching to SSL).
Parameters
- string $param:
- mixed $value:
Info
Method setReadPointer (line 190)
void setReadPointer(
$byteOffset)
Not implemented
Parameters
Info
Method setWriteTranslations (line 133)
void setWriteTranslations(
$replacements)
Implementation of:
- Swift_Transport_IoBuffer::setWriteTranslations()
- Set an array of string replacements which should be made on data written to the buffer. This could replace LF with CRLF for example.
Set an array of string replacements which should be made on data written to the buffer. This could replace LF with CRLF for example.
Parameters
Info