I have a little problem decompressing some data with zlib. The thing is that I am new to Java and the problem is not so much about the zlib itself but the more basics of the language.
So, I have a file that is partially compressed. Actually it is something like this:
[COLOR=lime][INFO ABOUT DATA][/COLOR][COLOR=red][COMPRESSED DATA][/COLOR][COLOR=lime][INFO ABOUT DATA][/COLOR][COLOR=red][COMPRESSED DATA][/COLOR][COLOR=lime][INFO ABOUT DATA][/COLOR][COLOR=red][COMPRESSED DATA] [COLOR=black]...[/COLOR][/COLOR]
Now then, I need to decompress those parts. I tried to do so with GZIPInputStream but it requires me to pass a file stream. So I am wondering how I should pass only those parts as a stream or if there is another method to do that.
Thanks in advance!


Sign In
Create Account


Back to top









