Yes it is. You can actually use the java.util.zip.GZIPInputStream in your
case.
Thanks
Best Regards
On Sun, Dec 20, 2015 at 3:23 AM, Eran Witkon wrote:
> Thanks, since it is just a snippt do you mean that Inflater is coming
> from ZLIB?
> Eran
>
> On Fri, Dec 18, 2015 at
Thanks, since it is just a snippt do you mean that Inflater is coming from
ZLIB?
Eran
On Fri, Dec 18, 2015 at 11:37 AM Akhil Das
wrote:
> Something like this? This one uses the ZLIB compression, you can replace
> the decompression logic with GZip one in your case.
>
Something like this? This one uses the ZLIB compression, you can replace
the decompression logic with GZip one in your case.
compressedStream.map(x => {
val inflater = new Inflater()
inflater.setInput(x.getPayload)
val decompressedData = new Array[Byte](x.getPayload.size * 2)