findMatch
private fn
auto findMatch(const(ubyte)[] data, size_t pos, ref size_t[SNAPPY_HASH_SIZE] hashTable)Find a match at the current position using the hash table.
Parameters
data | Full input data. |
pos | Current position in data. |
hashTable | Hash table mapping hash -> position. |
Returns
Tuple of (offset, length) or (0, 0) if no match found.