19 lines
445 B
C++
19 lines
445 B
C++
|
/**
|
||
|
* \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_ */
|