Interface Swift_OutputByteStream
An abstract means of reading data. Classes implementing this interface may use a subsystem which requires less memory than working with large strings of data.
Direct known implementers
Swift_ByteStream_ArrayByteStream
,
Swift_FileStream
,
Swift_Transport_IoBuffer
Indirect known implementers
Swift_ByteStream_FileByteStream
,
Swift_Transport_StreamBuffer
Package: Swift\ByteStream
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/OutputByteStream.php
Author: Chris Corbyn
Located at vendors/swiftmailer/lib/classes/Swift/OutputByteStream.php
Methods summary
public
string
|
#
read( integer $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. |
public
boolean
|
#
setReadPointer( integer $byteOffset )
Move the internal read pointer to $byteOffset in the stream. |