peerplays-fc/include/fc/compress/lzma.hpp
2014-07-02 23:28:43 -04:00

16 lines
429 B
C++

#pragma once
#include <fc/filesystem.hpp>
#include <vector>
namespace fc {
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) );
} // namespace fc