1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-05 18:34:17 +02:00

Added a getData() method to ByteBuffer.

This commit is contained in:
Jeff Schiller 2024-02-04 15:02:17 -08:00
parent 1852dc6509
commit abcf593d4f
5 changed files with 48 additions and 4 deletions

View file

@ -20,7 +20,7 @@ const BITMASK = [0, 0x01, 0x03, 0x07, 0x0F, 0x1F, 0x3F, 0x7F, 0xFF];
*
* Bit reading always proceeds from the first byte in the buffer, to the
* second byte, and so on. The MTL flag controls which bit is considered
* first *inside* the byte.
* first *inside* the byte. The default is least-to-most direction.
*
* An Example for how Most-To-Least vs Least-to-Most mode works:
*