HH\Lib\IO\SeekableHandle::seek

Meta Engineer?

The containing class is available as IO\SeekableHandle in the www repository.

Move to a specific offset within a handle

public function seek(
  int $offset,
): void;

Offset is relative to the start of the handle - so, the beginning of the handle is always offset 0.

Parameters

  • int $offset

Returns

  • void