Unzipping a file from InputStream and returning another InputStream

后端 未结 4 732
伪装坚强ぢ
伪装坚强ぢ 2020-12-14 06:33

I am trying to write a function which will accept an InputStream with zipped file data and would return another InputStream with unzipped data.

4条回答
  •  抹茶落季
    2020-12-14 07:14

    Unless I'm missing something, you should absolutely try and get ZipInputStream to work and there's no reason it shouldn't (I've certainly used it on several occasions).

    What you should do is try and get ZipInputStream to work and if you can't, post the code and we'll help you with whatever problems you're having.

    Whatever you do though, don't try and reinvent its functionality.

提交回复
热议问题