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 |
|