Seek to the beginning of the stream.
void
Example:
$resource = fopen(BOOTSTRAP_DIR . '/sample/shieldon_logo.png', 'r+'); $stream = new Stream($resource); $stream->seek(10); echo $stream->tell(); // Outputs: 10 $stream->rewind(); echo $stream->tell(); // Outputs: 0 $stream->close();
There was an error while loading. Please reload this page.