1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 17:49:16 +02:00
Commit graph

16 commits

Author SHA1 Message Date
codedread
a6f9026ab1 Remove pushing and throwing errors from BitStream and update unit tests. Update unrar to use a ByteStream for the RAR file header (like unzip) 2018-01-30 00:16:38 -08:00
codedread
950dc65b56 Improve performance of peeking bytes by copying subarrays instead of copying byte-by-byte 2018-01-26 08:59:51 -08:00
codedread
8c630c170c Add counters for number of bytes/bits read in streams since the beginning of time 2018-01-26 00:02:16 -08:00
codedread
3c5c9cbd4c Fix tee() methods on streams and add a unit test. Also improve error message logging in the test harness 2018-01-23 23:56:03 -08:00
codedread
adbd182bcc Tidy up some comments 2018-01-21 02:24:13 -08:00
codedread
5aa0110faf Add tee() methods to BitStream and ByteStream 2018-01-21 02:06:07 -08:00
codedread
48a1cd8e90 Remove TODO 2018-01-21 01:52:53 -08:00
codedread
5b10c1a986 Make bitstreams pushable 2018-01-21 01:49:17 -08:00
codedread
b593fc6d8e Allow 0-length reads, the unarchivers expect this 2018-01-19 20:16:28 -08:00
codedread
ec27877ffa Improve parameter validation and test coverage. Also add errorws when trying to seek past the end of the stream 2018-01-19 17:40:43 -08:00
codedread
e7ef46fb78 Fix whitespace and style 2018-01-19 07:47:49 -08:00
codedread
d2a4329893 Whitespace and a couple arrow functions 2017-02-21 12:05:03 -08:00
codedread
14abef20d6 Convert to ES6 classes 2017-02-20 14:36:48 -08:00
codedread
639a23e69b Start the move to es6: Change all vars to lets/consts 2017-02-20 12:47:17 -08:00
codedread
e755acc70b Update docs for BitStream.getBits() and add a TODO 2017-02-18 01:41:42 -08:00
codedread
5ac3c1d005 Split up io like antimatter15 did 2017-02-15 21:19:57 -08:00