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.
package | Swift |
---|---|
subpackage | ByteStream |
author | Chris Corbyn |
read(int $length) : string
If less bytes exist than are requested the remaining bytes are given instead. If no bytes are remaining at all, boolean false is returned.
int
\Swift_IoException |
---|
string
setReadPointer(int $byteOffset) : boolean