HH\Lib\IO\SeekableHandle
Requires the Hack Standard Library - Experimental Additions to be installed.
Facebook Engineer?
This function is available as IO\SeekableHandle()
in Facebook's www repository.
A handle that can have its' position changed
Interface Synopsis
namespace HH\Lib\IO;
interface SeekableHandle implements Handle {...}
Public Methods
->seekAsync(int $offset): Awaitable<void>
Move to a specific offset within a handle->tell(): int
Get the current pointer position within a handle