c# - zlib.h versus zlib.net -


i have made compression in c/c++ (no under clr) using library zlib.h, , works great. functions use deflate() , inflate(). file compressed c application, want decompress zlib.net application, using c#, not manage working. when trying decompress it, error of magic number, number used specific application in header. know how through problem, or if can give me example of inflate()/deflate() functionality in .net more info on how have done compression, similar 1 in link http://www.zlib.net/zlib_how.html

also, can 1 advice me of lib perform compression in both c++ , .net, many in advance...

there's discussion on here: zlib-compatible compression streams?

i think boost may work zlib add header information: http://www.boost.org/doc/libs/1_36_0/libs/iostreams/doc/classes/gzip.html


Comments

Popular posts from this blog

unicode - Are email addresses allowed to contain non-alphanumeric characters? -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

c++ - Convert big endian to little endian when reading from a binary file -