-
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
intoffset*Stream offset. -
param
intwhence= SEEK_SETSpecifies how the cursor position will be calculated based on the seek offset. -
return
void
Example:
// See eof() example.composer require shieldon/psr-httpShieldon PSR HTTP implementation written by Terry L. from Taiwan.
