Method |
Description |
|
__construct ( mixed $stack = null ) |
Create a new ArrayByteStream. |
|
bind ( Swift_InputByteStream $is ) |
Attach $is to this stream. |
|
commit ( ) |
Not used. |
|
flushBuffers ( ) |
Flush the contents of the stream (empty it) and set the internal pointer
to the beginning. |
|
read ( integer $length ) : string |
Reads $length bytes from the stream into a string and moves the pointer
through the stream by $length. |
|
setReadPointer ( integer $byteOffset ) : boolean |
Move the internal read pointer to $byteOffset in the stream. |
|
unbind ( Swift_InputByteStream $is ) |
Remove an already bound stream. |
|
write ( string $bytes ) |
Writes $bytes to the end of the stream. |
|