1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-27 04:14:49 +01:00
Go to file
Niklas Keller 37b9ab16bb
Solve performance issues with very large chunks
Very large chunks need to be copied every time there's a partial write, which is pretty problematic. Instead of doing an almost full copy of the full chunk every time, this patch splits very large chunks into multiple smaller chunks automatically.

Fixes #41.
2018-10-22 14:37:37 -05:00
docs Update shared documentation files 2018-05-16 16:15:55 +02:00
examples Apply PSR-2 2018-09-22 16:04:00 +02:00
lib Solve performance issues with very large chunks 2018-10-22 14:37:37 -05:00
test Add getStd*() functions 2018-10-22 20:36:00 +02:00
.editorconfig Fix editorconfig, add 7.2 to Travis, update shared 2017-10-07 10:32:29 +02:00
.gitattributes Initial commit 2016-08-10 16:52:25 -05:00
.gitignore Add tests, fix ResourceOutputStream writable check 2017-05-16 23:27:48 +02:00
.gitmodules Update to new shared docs repo 2017-09-27 13:56:06 +02:00
.php_cs.dist Apply PSR-2 2018-09-22 16:04:00 +02:00
.travis.yml Fix Travis config 2018-09-22 16:04:00 +02:00
composer.json Add infection and tests 2018-09-23 21:30:08 +02:00
infection.json.dist Add infection and tests 2018-09-23 21:30:08 +02:00
LICENSE Update LICENSE year 2017-05-07 22:18:55 +02:00
Makefile Rename Gzip*Stream to Zlib*Stream and allow different encodings 2017-05-14 14:40:32 +02:00
phpunit.xml.dist Add Message tests 2017-04-13 09:05:37 -05:00
README.md Add banner to readme 2017-09-07 11:03:21 +02:00

byte-stream

amphp/byte-stream is a stream abstraction to make working with non-blocking I/O simple.

Installation

This package can be installed as a Composer dependency.

composer require amphp/byte-stream

Requirements

  • PHP 7.0+

Documentation

Documentation is bundled within this repository in the ./docs directory.

Versioning

amphp/byte-stream follows the semver semantic versioning specification like all other amphp packages.

Security

If you discover any security related issues, please email me@kelunik.com instead of using the issue tracker.

License

The MIT License (MIT). Please see LICENSE for more information.