Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
swehner opened this issue Mar 16, 2024 · 0 comments

Comments

@swehner
Copy link

swehner commented Mar 16, 2024

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: #217 with the following changes:

  • Add optional paramater format to get_frame_paramaters and switch to using getFrameHeader_advanced internally
  • Use getFrameHeader_advanced in decompress instead of getFrameContentSize
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant