peerplays-fc/include/fc/compress/lzma.hpp

17 lines
429 B
C++
Raw Normal View History

2013-08-13 21:13:25 +00:00
#pragma once
2014-07-03 02:36:10 +00:00
#include <fc/filesystem.hpp>
2013-08-13 21:13:25 +00:00
#include <vector>
namespace fc {
2014-07-03 02:36:10 +00:00
std::vector<char> lzma_compress( const std::vector<char>& in );
std::vector<char> lzma_decompress( const std::vector<char>& compressed );
void lzma_compress_file( path src_path,
path dst_path,
unsigned char level = 5,
unsigned int dict_size = (1 << 20) );
2013-08-13 21:13:25 +00:00
} // namespace fc