-
Notifications
You must be signed in to change notification settings - Fork 1
Stream: seek Example
Terry L edited this page Jun 20, 2020
·
2 revisions
Shieldon\Psr7\Stream
Seek to a position in the stream.
-
param
int
offset*
Stream offset. -
param
int
whence= SEEK_SET
Specifies how the cursor position will be calculated based on the seek offset. -
return
void
Example:
// See eof() example.
composer require shieldon/psr-http
Shieldon PSR HTTP implementation written by Terry L. from Taiwan.