stream_set_read_buffer
reactphp/socket
Supported Versions: PHP 5 >= 5.3.3, PHP 7, PHP 8
Set read file buffering on the given stream
<?php stream_set_read_buffer
(
resource $stream
,
int $size
):
int