摘要: 这里介绍的是如何使用开源的LZMA压缩解压算法库。 下载地址:http://tukaani.org/xz/ 里面有头文件、动态库和文档。里面有例子程序,是压缩和解压文件的,我试用过,可以。我这里介绍压缩buff到另一个buff中,这样可以实现边接受来自网络的数据,边写压缩文件。#include "stdafx.h"#include #include #include #include #include #define LZMA_API_STATIC#include "lzma.h"#define LZMA_PRESET_VAL 0static uint3 阅读全文
posted @ 2014-03-15 17:46 王程根的技术博客 阅读(8754) 评论(1) 推荐(0) 编辑