Sets the resource to read from while streaming up. Reads the stream from its current position until
EOF or $size
bytes have been read. If $size
is not given it will be determined by fstat()
and
ftell()
.
Access
public
Parameters
Parameter |
Type |
Required |
Description |
---|---|---|---|
|
Required |
The readable resource to read from. |
|
|
Optional |
The size of the stream to read. |
Returns
Type |
Description |
---|---|
A reference to the current instance. |
Source
Method defined in lib/requestcore/requestcore.class.php | Toggle source view (21 lines) | View on GitHub