[ Index ] |
PHP Cross Reference of phpBB-3.2.11-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 161 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Class: LimitStream - X-Ref
Decorator used to return only a subset of a stream__construct(StreamInterface $stream,$limit = -1,$offset = 0) X-Ref |
param: StreamInterface $stream Stream to wrap param: int $limit Total number of bytes to allow to be read param: int|null $offset Position to seek to before reading (only |
eof() X-Ref |
No description |
getSize() X-Ref |
Returns the size of the limited subset of data {@inheritdoc} |
seek($offset, $whence = SEEK_SET) X-Ref |
Allow for a bounded seek on the read limited stream {@inheritdoc} |
tell() X-Ref |
Give a relative tell() {@inheritdoc} |
setOffset($offset) X-Ref |
Set the offset to start limiting from param: int $offset Offset to seek to and begin byte limiting from return: self |
setLimit($limit) X-Ref |
Set the limit of bytes that the decorator allows to be read from the stream. param: int $limit Number of bytes to allow to be read from the stream. return: self |
read($length) X-Ref |
No description |
Generated: Wed Nov 11 20:33:01 2020 | Cross-referenced by PHPXref 0.7.1 |