Struct LZ77Phrase

Struct Documentation

struct LZ77Phrase

a phrase of LZ77: copy length symbols from distance back, then next (none at the end of the text); distance 0 when length is 0

Public Members

std::size_t distance
std::size_t length
std::optional<char> next

Friends

friend bool operator==(const LZ77Phrase &a, const LZ77Phrase &b) = default