Identify if a file is a gzip file

前端 未结 0 1405
时光说笑
时光说笑 2021-01-22 11:09

I need to check using C++ if a file being opened is a gzip file or not.
In Python I use the following code to identify if a file is gzipped:
``` test_file
相关标签:
回答
  • 消灭零回复
提交回复
热议问题