Template Function ADS::decode

Function Documentation

template<class C>
std::basic_string<C> ADS::decode(const std::string &bits, const std::map<C, std::string> &code)

the bits decoded by the codes, a prefix code

Pre:

bits is a concatenation of codes of a prefix-free code