Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
谁能解释一下?
当您关闭 GZip 流时,它会关闭底层文件流,因为您已经关闭了文件流,所以会引发异常。您不需要关闭它们,只需关闭 gzip 流