indygreg / python-zstandard

Python bindings to the Zstandard (zstd) compression library
BSD 3-Clause "New" or "Revised" License
512 stars 90 forks source link

Feature request: Support headerless format in decompress and get_frame_parameters #218

Open swehner opened 8 months ago

swehner commented 8 months ago

We're using zstandard wihtout the magic header, but for decompression there is no support in decompress method. This requires to prepend the magic header before processing it. It's a minor issue but it's not very efficient having to concatenate the buffers unnecessarily.

Opened a pull request here: https://github.com/indygreg/python-zstandard/pull/217 with the following changes: