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