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

implement deflateParams, deflateGetDictionary, inflateGetDictionary #290

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

UselessMnemonic
Copy link

@UselessMnemonic UselessMnemonic commented Jan 11, 2025

Implements deflateParams closely to the original source.
Implements deflateGetDictionary, inflateGetDictionary with a slightly different interface:

  • Instead of accepting an out-parameter for dictLength, return a tuple of the status code and the dictLength
  • Limit the dictLength to the length of the dictionary parameter, whereas the original source makes no such concession

An alternative to the above is to accept some Uint32Array as the out parameter.

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

Successfully merging this pull request may close these issues.

1 participant