The containing class is available as IO\BufferedReader in the www repository.
IO\BufferedReader
public function readImpl( ?int $max_bytes = NULL, ): string;
?int $max_bytes = NULL
string