[ Index ]

PHP Cross Reference of phpBB-3.3.3-deutsch




/vendor/guzzlehttp/psr7/src/ -> LimitStream.php (summary)

(no description)

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

Defines 1 class

LimitStream:: (8 methods):

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             $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

seek($offset, $whence = SEEK_SET)   X-Ref
Allow for a bounded seek on the read limited stream

tell()   X-Ref
Give a relative tell()

setOffset($offset)   X-Ref
Set the offset to start limiting from

param: int $offset Offset to seek to and begin byte limiting from

setLimit($limit)   X-Ref
Set the limit of bytes that the decorator allows to be read from the

param: int $limit Number of bytes to allow to be read from the stream.

read($length)   X-Ref
No description

Generated: Sun Feb 14 20:08:31 2021 Cross-referenced by PHPXref 0.7.1