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