2011年5月29日

[转]解压HTTP gzip的

摘要: #include <stdlib.h>#include <string.h>#include <errno.h>#include <zlib.h>/* Compress data */int zcompress(Bytef *data, uLong ndata, Bytef *zdata, uLong *nzdata){z_stream c_stream;int err = 0; if(data && ndata > 0){c_stream.zalloc = (alloc_func)0;c_stream.zfree = (f 阅读全文

posted @ 2011-05-29 23:37 LT 阅读(330) 评论(0) 推荐(0)

导航

直角体Web动力