1
0
mirror of https://github.com/danog/byte-stream.git synced 2024-11-30 04:19:23 +01:00
Go to file
Niklas Keller b420ae4d6b 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-05-23 19:39:34 +02:00
docs Update shared documentation files 2018-05-16 16:15:55 +02:00
examples Remove Parser 2017-06-07 22:23:44 -05:00
lib Solve performance issues with very large chunks 2018-05-23 19:39:34 +02:00
test Fix ZlibInputStreamTest::testRead() for Windows 2018-04-04 07:33:09 +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 Rename Gzip*Stream to Zlib*Stream and allow different encodings 2017-05-14 14:40:32 +02:00
.travis.yml Use xdebug instead of phpdbg for coverage 2018-04-03 22:15:31 +02:00
composer.json Define target platform in composer.json and fix .travis.yml 2017-12-02 20:32:00 -06: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.