HH\Lib\IO\BufferedReader::readByteAsync

Read a single byte from the handle

public function readByteAsync(
  ?int $timeout_ns = NULL,
): Awaitable<string>;

Fails with EPIPE if the handle is closed or otherwise unreadable.

Parameters

  • ?int $timeout_ns = NULL

Returns