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

26 commits

Author SHA1 Message Date
Jeff Schiller
abcf593d4f Added a getData() method to ByteBuffer. 2024-02-04 15:02:17 -08:00
Jeff Schiller
c07aa83e12 io: Add skip() method to BitStream and beef up unit tests 2024-01-20 17:30:42 -08:00
Jeff Schiller
ee57144579 Tweaks to ByteStream docs 2023-12-25 20:30:02 -08:00
Jeff Schiller
bb0f40394e codecs: Properly detect Matroska audio/video. Add codec support for AV1 video and DTS audio. Bump to 1.1.4. 2023-10-19 11:41:02 -07:00
Jeff Schiller
63e84dadb0 Issue #28: Removed build step for bitjs.io now that all browsers (Firefox 114+) support ES Module Workers. 2023-05-28 10:39:35 -07:00
Jeff Schiller
4854b9754f Add better documentation for how MTL and LTM modes work for BitStream 2023-02-16 20:31:51 -08:00
Jeff Schiller
84514d1617 Update to @returns in all jsdoc 2022-04-27 13:31:18 -07:00
Jeff Schiller
24b1603968 Add a BitBuffer to the io package and a few tests 2021-12-20 20:35:59 -08:00
codedread
ab5f6fc6d2 Make ByteStream and ByteBuffer into modules with Worker veresions via build for Issue #16 2020-04-02 00:07:14 -07:00
codedread
a457564ff0 Start on Issue #16. Make BitStream a module, but provide a Web Worker version of BitStream via a build step 2020-04-01 23:08:09 -07:00
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