Exemplo n.º 1
0
 public void Initialize(CompressionSettings settings)
 {
     this.lzmaSettings = settings as LzmaSettings;
     if (this.lzmaSettings == null)
     {
         throw new ArgumentException("Wrong settings type.");
     }
 }
Exemplo n.º 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);
     }
 }