public LZMADecoder() { m_DictionarySize = 0xFFFFFFFF; for (int i = 0; i < LZMABase.kNumLenToPosStates; i++) m_PosSlotDecoder[i] = new LZMARangeBitTreeDecoder(LZMABase.kNumPosSlotBits); }
public void Create(uint numPosStates) { for (uint posState = m_NumPosStates; posState < numPosStates; posState++) { m_LowCoder[posState] = new LZMARangeBitTreeDecoder(LZMABase.kNumLowLenBits); m_MidCoder[posState] = new LZMARangeBitTreeDecoder(LZMABase.kNumMidLenBits); } m_NumPosStates = numPosStates; }