32 Commits
Author SHA1 Message Date
Timofey Solomko d877adf962 Updated copyright year. 2017-01-05 23:09:53 +03:00
Timofey Solomko 21f61f19cf Removed 'good functions' recently added to DWP. 2017-01-01 14:39:55 +03:00
Timofey Solomko 1d8d014250 Added a couple of ‘good functions’ to DWP. 2016-12-30 23:03:27 +03:00
Timofey Solomko 2774fcbb57 Added prevByte computed property to DWP so it is possible to make bitArray private again. 2016-12-30 18:11:05 +03:00
Timofey Solomko f7633ece0e Fixed a build problem when building subpods other than XZ. 2016-12-26 22:29:28 +03:00
Timofey Solomko 888ad5ec80 Added two variables to DWP which will be useful later. 2016-12-24 20:35:03 +03:00
Timofey Solomko 836843a1cc One more fix for multiByteDecode… 2016-12-24 15:10:18 +03:00
Timofey Solomko b61a5a466d Moved multiByteDecode into DWP. Hopefully, now it works properly (I’ve also made some changes to it). 2016-12-23 23:36:35 +03:00
Timofey Solomko d41bab2136 DWP is now final. 2016-12-23 20:40:48 +03:00
Timofey Solomko 6909d21c1c Added a couple of functions to DWP which may be used in the future. 2016-12-22 23:50:37 +03:00
Timofey Solomko fb45daaf67 Fixed typo in the name of the function. Added function to get bytes. 2016-12-18 16:23:37 +03:00
Timofey Solomko 85d2c0f7a4 Replaced pow() with bit shift operations. 2016-12-16 21:33:10 +03:00
Timofey Solomko e881be867e Added intFromAlingedBytes. 2016-12-15 23:37:11 +03:00
Timofey Solomko 38891e06fa Replaced bit() function with self-contained version of it. 2016-12-14 21:05:40 +03:00
Timofey Solomko 5ec3cce5d2 Removed unused import in DWP. 2016-12-10 15:58:17 +03:00
Timofey Solomko 106fd1e645 Made some properties in DWP private. 2016-12-09 20:33:29 +03:00
Timofey Solomko c009ef12a8 Rewritten DataWithPointer with the use of array of bytes. Removed alignedBytes(count:) because it was significantly slower this way. 2016-12-09 01:07:52 +03:00
Timofey Solomko f325af4baf Removed rewind function. 2016-12-04 20:25:11 +03:00
Timofey Solomko 38caec5ddb Added method which gets one byte from data with pointer. 2016-11-26 15:39:20 +03:00
Timofey Solomko 234c58ace5 Added new way to read bytes and used it in deflate uncompressed blocks. 2016-11-21 20:17:27 +03:00
Timofey Solomko 438fbca27d Fixed a problem with unnecessary skipping of bits (causing nlength and length problem). 2016-11-20 23:27:22 +03:00
Timofey Solomko def0ce590c Moved common swift files so swift package manager won’t complain. 2016-11-20 17:56:09 +03:00
Timofey Solomko 58d49afc35 Reorganized project structure. 2016-11-19 15:21:44 +03:00
Timofey Solomko 6c9f65e8c5 DataWithPointer no longer stores input data. 2016-11-15 23:45:04 +03:00
Timofey Solomko c158f895bf Added new enum for specifying bit order. United DataWithPointer and DataWithStraightPointer. 2016-11-15 22:32:36 +03:00
Timofey Solomko 19ec6380cb Added new DataWithPointer subclass (DataWithStraightPointer) which supports right-to-left bit order (used in bzip2). 2016-11-14 23:17:12 +03:00
Timofey Solomko 55b0243c46 Added new convenience function to DataWithPointer which returns int number directly without conversion of uint8 array. 2016-11-13 19:30:36 +03:00
Timofey Solomko 8bccf79dfb Removed unused symbols. 2016-11-05 12:06:52 +03:00
Timofey Solomko c3b9c81571 Fixed problems with rewind function. 2016-11-05 12:01:01 +03:00
Timofey Solomko 2dcb960646 Redid implementation of bits function because we need right-to-left bit order. 2016-11-05 12:00:20 +03:00
Timofey Solomko c8b138aef6 Completed implementation of DataWithPointer (kinda). 2016-11-05 00:26:44 +03:00
Timofey Solomko b64c3d81fe Added new class for getting bits from data in efficient way. And performance tests for it. 2016-11-04 23:11:42 +03:00