1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-04 01:59:15 +02:00

Move some common type definitions into archive/common.js and some comments.

This commit is contained in:
Jeff Schiller 2024-01-20 16:12:55 -08:00
parent 4fc0c3da2b
commit 45fdedd663
11 changed files with 75 additions and 83 deletions

View file

@ -65,6 +65,8 @@ export class BitBuffer {
this.bitPtr = this.mtl ? 7 : 0;
}
// TODO: Be consistent with naming across classes (big-endian and little-endian).
/** @returns {boolean} */
getPackingDirection() {
return this.mtl;