HH\Lib\IO\SeekableHandle::seekAsync

Move to a specific offset within a handle

public function seekAsync(
  int $offset,
): Awaitable<void>;

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

Any other pending operations (such as writes) will complete first.

Parameters

  • int $offset

Returns