Closed tlnagy closed 8 years ago
ZlibInflateOutputStream
is designed for writing data, not for reading. I guess what you need is ZlibInflateInputStream
.
Thanks. That fixed by problem, but then I think the following line in the README is very confusing:
ZlibInflateInputStream
= write and decompress data
I was reading data from a file?
Oh no, the README swaps the words. ZlibInflateInputStream
is a stream to read data from.
I updated the issue title to reflect this problem.
Thanks. The README is fixed.
There is some code in
NRRD.jl
that looks like the followingI would like to convert this to
Libz
. How can I do this? My first attempt doesn't work and I'm not sure what else to try.but this gives me the following error:
Not sure how to do byte I/O with Libz