Can't edit the last post. But more investigation made me notice something. The output streams read only methods CanWrite, CanRead, and CanSeek are all false. When on the input stream they are all true. The streams are created like so
-
System.IO.FileStream outFileStream = new System.IO.FileStream(outFile, System.IO.FileMode.Create);
-
zlib.ZOutputStream outZStream = new zlib.ZOutputStream(outFileStream);
-
System.IO.FileStream inFileStream = new System.IO.FileStream(inFile, System.IO.FileMode.Open);
-
outFileStream can read, write, and seek. But outZStream which is passed to the function can't read, write, seek. But then again I get the decompressed file in the end, but my program hangs.