예제 #1
0
 public void Initialize(CompressionSettings settings)
 {
     this.lzmaSettings = settings as LzmaSettings;
     if (this.lzmaSettings == null)
     {
         throw new ArgumentException("Wrong settings type.");
     }
 }
예제 #2
0
 public LzmaDecompressor(LzmaSettings settings)
     : base(settings)
 {
     this.dictionarySize = uint.MaxValue;
     for (int index = 0; index < 4; ++index)
     {
         this.positionSlotDecoder[index] = new LzmaBitTreeDecoder(6);
     }
 }