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

Need Example #174

Open
gchling opened this issue Jul 22, 2021 · 1 comment
Open

Need Example #174

gchling opened this issue Jul 22, 2021 · 1 comment

Comments

@gchling
Copy link

gchling commented Jul 22, 2021

Is there any example of How to use it.
This code is not the same as the use of Zlib.Net, I cannot used it correctly!!!!!!!

Have you test the code? Do it can work?

@AraHaan
Copy link

AraHaan commented Jul 24, 2021

Oh the codebase has simplified significantly since Zlib.net (ZOutputStream, and ZInputStream in v2.0.0 which has not been released yet on the main branch has been unified to ZlibStream).

However I noticed a possible regression on my local clone of this repository to work on adding tests where the original data despite compression levels being explicitly set that it just simply takes those bytes and add them after the zlib header and then add the zlib footer. For that I think I need @JimBobSquarePants to help me identify the regression so that way I can release v2.

Also MemoryZlib.Compress, MemoryZlib.Decompress are helper functions on this library that can show you how to use the library, they also include an overload accepting Streams as well if I remember correctly. I made those helper functions so that way people do not have to try (and incorrectly) use the stream classes.

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