findBestMatch
private fn
auto findBestMatch(const(ubyte)[] src, size_t pos, ref LzoHashTable hashTab, size_t maxOff)Find the best match at the current position.
Parameters
src | Source data. |
pos | Current position. |
hashTab | Hash table for match finding. |
maxOff | Maximum backward offset. |
Returns
Tuple of (offset, length) where offset is distance back, or (0, 0) if no match.