Pergunta

Can anyone explain this?

enter image description here

Foi útil?

Solução

when you close the GZip stream, it's closes the underlying file stream, the exception is thrown because you already closed the file stream. you don't need to close both of them, just close the gzip stream

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top