Perhaps you should use `gunzip-through-ports` which also parses the required header?
Alex. On Thursday, January 12, 2017 at 11:23:47 AM UTC+8, Lehi Toskin wrote: > I'm looking at some data that was zlib compressed and I thought I'd inflate > it with file/gunzip's deflate function, but I get "inflate: error in > compressed data". I thought to try from the opposite direction, grabbing some > deflated data from Racket and then asking zlib-flate to inflate it again, but > then I get "flate: inflate: data: incorrect header check". > > Are the inflate/deflate functions incompatible with zlib-compressed data? > That doesn't seem to be right, since the documentation says it's pkzip and > everything I've read says that pkzip is what zip uses. -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.