kjdev / php-ext-zstd

Zstd Extension for PHP
MIT License
201 stars 27 forks source link

Implement Streaming Interface #12

Closed BenBE closed 2 years ago

BenBE commented 6 years ago

Please implement a streaming interface as documented in the original zstd library: https://github.com/facebook/zstd/blob/255597502c3a4ef150abc964e376d4202a8c2929/lib/zstd.h#L247

Ideally this should be published as stream handling class, so it can be used as a protocol handler, cf. http://php.net/manual/de/stream.streamwrapper.example-1.php

remicollet commented 5 years ago

can be close... implemented in 0.7.0

glensc commented 3 years ago

@remicollet probably wanted to say "can be closed, implemented in 0.7.0"

tzukav commented 2 years ago

Is there any way to use compression level with streams?

BenBE commented 2 years ago

Is there any way to use compression level with streams?

Have a look at the test case