The mode parameter is as in fopen() ("rb "or "wb") but can also include a compression level ("wb9") or a strategy: 'f 'for filtered data as in "wb6f", 'h' for Huffman only compression as in "wb1h". (See the description of deflateInit2 in zlib.h for more information about the strategy parameter.)
gzip (.gz)파일을 읽기 또는 쓰기위해 연다. mode 파라미터는 fopen() ("rb" or "wb")와 같고, 또한 압축레벨 ("wb9") 또는 stategy를 포함한다: 'f' for filtered data as in "wb6f", 'h' for Huffman only compression as in "wb1h". (strategy parameter에 관한 보다 많은 정보를 원한다면 the description of deflateInit2 in zlib.h보라.)