byte-stream icon indicating copy to clipboard operation
byte-stream copied to clipboard

A non-blocking stream abstraction for PHP based on Amp.

Results 6 byte-stream issues
Sort by recently updated
recently updated
newest added

When trying to do a simple HTTP request with `HttpClient`, I invariable receive a `DnsException` thrown by `Amp\Dns\Rfc1035StubResolver:197`, which is part of a `MultiReasonException` containing two such exceptions, whose previous...

Hi. I think it's would be great to have possibility to read chunks with specified length since commonly dealing with binary protocols looks like ```php $lengthBytes = fread($fd, 4); //...

feature request

currently, `ByteStream\getStderr` has a weird behaviour in my opnion when the standard error output is not available. which is that `ByteStream\getStderr()` returns a stream, but, it is not the expected...

Reliance on the key is useful in some conditions, and the non-monotonicity of the key caused a very nasty bug in our code.