28 Commits
Author SHA1 Message Date
Timofey Solomko 05852b179b Use new int(fromBytes:) function 2018-04-10 22:37:16 +03:00
Timofey Solomko 4888f37f0f Revert addition of BBD-related public APIs to Zlib, LZMA and BZip2 2018-03-02 23:32:39 +03:00
Timofey Solomko b19382833b [Zlib] Add public unarchive(from:) function which uses BBD's ByteReader as its argument 2018-02-23 12:58:37 +03:00
Timofey Solomko ba037786b4 [LZMA] Add public decompress(from:) function which uses BBD's ByteReader as its argument 2018-02-23 12:58:24 +03:00
Timofey Solomko e714dc308b Updated copyright year to 2018 2018-01-03 19:44:18 +03:00
Timofey Solomko e986561487 Replace Int() conversions with toInt() functions 2018-01-03 19:22:15 +03:00
Timofey Solomko c8d92e56d3 Replace BitReader and ByteReader with BitByteData's implementations 2018-01-03 19:22:15 +03:00
Timofey Solomko 20ab480737 Complete renaming of DataWithPointer to ByteReader
This includes renaming pointerData variables to byteReader as well as renaming of files with extensions to ByteReader.
2018-01-03 19:22:14 +03:00
Timofey Solomko 3751e25c4f Rename DataWithPointer to ByteReader
This and following commits should ease switch to BitByteData usage.
2018-01-03 19:22:13 +03:00
Timofey Solomko e05f917210 Improve compile time 2017-12-24 14:57:35 +03:00
Timofey Solomko 545e5c69fc Remove some redundancy from documentation 2017-11-14 21:35:30 +03:00
Timofey Solomko f181bd6e3d Remove throws keyword from LZMA decoders inits 2017-11-11 13:10:35 +03:00
Timofey Solomko feb41deed1 Return Data instead of UInt8 arrays in internal decompress functions 2017-11-11 12:54:31 +03:00
Timofey Solomko acb3d4d231 Simplify Zip's LZMA code by utilizing main LZMA decompress function 2017-11-11 12:48:08 +03:00
Timofey Solomko fc0a5ad2cc Remove LZMAError.decoderIsNotInitialised 2017-11-10 22:29:30 +03:00
Timofey Solomko bdf9cd930f Make lc, lp and pb properties of LZMADecoder private 2017-11-09 19:25:09 +03:00
Timofey Solomko 6d82cdf946 Remove inout modifier for LZMARangeDecoder arguments
rangeDecoder arguments already have pass-by-reference functionality since LZMARangeDecoder is a class. It works the same way as DataWithPointer, for example.
2017-10-29 13:01:33 +03:00
Timofey Solomko 534ede1c00 Move LZMA2 related files into a separate group and folder 2017-10-29 12:55:34 +03:00
Timofey Solomko c445e09c92 Rename LZMATempDecoder into LZMADecoder 2017-10-29 12:54:35 +03:00
Timofey Solomko aac304b5b6 Extract LZMA constants into separate file and remove old LZMA decoder 2017-10-29 12:53:17 +03:00
Timofey Solomko 171c08be1a Update LZMA2 to use new LZMA2 decoder 2017-10-29 12:51:18 +03:00
Timofey Solomko 328345cbe3 Add out variable to LZMA2 decoder and change dictionarySize setup 2017-10-29 12:50:58 +03:00
Timofey Solomko bca275f3aa Remove label from the argument of setProperties function 2017-10-29 12:37:28 +03:00
Timofey Solomko 7057475e59 Add LZMA2 decoder 2017-10-29 12:35:17 +03:00
Timofey Solomko b14650c1f5 Changes to new LZMA1 decoder to support LZMA2 decoder 2017-10-29 12:34:56 +03:00
Timofey Solomko d062ffb0ea Use new LZMA decoder in LZMA itself 2017-10-29 12:03:46 +03:00
Timofey Solomko 722805a35d Add temporary version of LZMA1 only decoder 2017-10-29 12:03:29 +03:00
Timofey Solomko 843896edcf Move source code files into subfolders 2017-10-06 23:10:01 +03:00