摘要: 通过zlib库是可以实现压缩和解压缩文件,或者是对字节流进行压缩、加密等功能。 这里实现了一个对文件的压缩和解压程序。 1. 函数原型 //compress a file int compressFile(const char *srcfile, unsigned long *srclen, con 阅读全文
posted @ 2021-05-19 18:32 castor_xu 阅读(5422) 评论(0) 推荐(0) 编辑