From 56600d2178fa69c815ae2fa9802d9677e7b6c874 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Mon, 13 Aug 2018 20:24:29 +0300 Subject: [PATCH] [LZMA] Add LZMAProperties property to LZMADecoder --- Sources/LZMA/LZMADecoder.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/LZMA/LZMADecoder.swift b/Sources/LZMA/LZMADecoder.swift index c82f9211..dfbfb401 100644 --- a/Sources/LZMA/LZMADecoder.swift +++ b/Sources/LZMA/LZMADecoder.swift @@ -17,6 +17,8 @@ final class LZMADecoder { } } } + + var properties: LZMAProperties var uncompressedSize = -1 @@ -68,6 +70,7 @@ final class LZMADecoder { init(_ byteReader: ByteReader) { self.byteReader = byteReader + self.properties = LZMAProperties(lc: 0, lp: 0, pb: 0, dictionarySize: 0) } /**