示例#1
0
 /// <summary>
 /// Initializes the Lzma Decoder class.
 /// </summary>
 public Decoder()
 {
     m_DictionarySize = 0xFFFFFFFF;
     for (int i = 0; i < Base.kNumLenToPosStates; i++)
         m_PosSlotDecoder[i] = new BitTreeDecoder(Base.kNumPosSlotBits);
 }
示例#2
0
 internal void Create(uint numPosStates)
 {
     for (uint posState = m_NumPosStates; posState < numPosStates; posState++)
     {
         m_LowCoder[posState] = new BitTreeDecoder(Base.kNumLowLenBits);
         m_MidCoder[posState] = new BitTreeDecoder(Base.kNumMidLenBits);
     }
     m_NumPosStates = numPosStates;
 }