[ Index ]

MailPress 7.2

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




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

(no description)

File Size: 178 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

Swift_ByteStream_ArrayByteStream:: (8 methods):

Class: Swift_ByteStream_ArrayByteStream  - X-Ref

Allows reading and writing of bytes to and from an array.

__construct($stack = null)   X-Ref
Create a new ArrayByteStream.

If $stack is given the stream will be populated with the bytes it contains.

param: mixed $stack of bytes in string or array form, optional

read($length)   X-Ref
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.

param: int $length
return: string

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

param: string $bytes

commit()   X-Ref
Not used.

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.

setReadPointer($byteOffset)   X-Ref
Move the internal read pointer to $byteOffset in the stream.

param: int $byteOffset
return: bool

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

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