lzw-assignment/src/compress.hh

19 lines
445 B
C++
Raw Normal View History

2018-04-05 16:47:07 +00:00
/**
* \file compress.hh
* \brief Header for compression functions
*/
#ifndef LZW_SRC_COMPRESS_H_
#define LZW_SRC_COMPRESS_H_
#include "common.hh"
#include <vector>
/// \brief Compression d'une chaine de caractères
const std::vector<std::uint32_t>
compress(const std::basic_string<uint8_t> &t_text,
std::map<std::pair<std::uint32_t, std::uint8_t>, std::uint32_t>
&t_dictionary);
#endif /* LZW_SRC_COMPRESS_H_ */