A helper class used when performing label sequence compression. More...
#include <DwmDnsLabelPositions.hh>
Public Member Functions | |
| LabelPositions () | |
| Constructor. | |
| void | Add (const std::string &s, uint16_t offset) |
| void | Add (const std::vector< std::pair< std::string, uint16_t >> &labels, const std::string &domain) |
| void | Add (const std::vector< std::pair< std::string, uint16_t >> &labels) |
| std::pair< std::string, uint16_t > | FindLongestPrev (const std::string &s) const |
| void | Clear () |
A helper class used when performing label sequence compression.