amphp / byte-stream

A non-blocking stream abstraction for PHP based on Amp.
https://amphp.org/byte-stream
MIT License
363 stars 31 forks source link

Add length param to ReadableResourceStream::read #90

Closed trowski closed 2 years ago

trowski commented 2 years ago

We can then add this param to the Socket interface in amphp/socket.