public static void InitializeHC(CCtxT *hc4, byte *start) { LZ4MemoryHelper.Zero((byte *)hc4->HashTable, HashTableSizeHC * sizeof(uint)); LZ4MemoryHelper.Fill((byte *)hc4->ChainTable, 0xFF, MaxD * sizeof(ushort)); hc4->NextToUpdate = 64 * KB; hc4->BaseP = start - 64 * KB; hc4->End = start; hc4->DictBase = start - 64 * KB; hc4->DictLimit = 64 * KB; hc4->LowLimit = 64 * KB; }