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

Can I know in advance what the output size will be from the input in unishox2? #55

Open
NuttyNull opened this issue Aug 21, 2023 · 1 comment

Comments

@NuttyNull
Copy link

How big buffer should be allocated for output before calling compress and decompress function?

@siara-cc
Copy link
Owner

Usually same size as input is sufficient unless the input is binary data or wierd text that would expand the original input. Right now there is no such function in the implementation.

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

2 participants