mirror of
https://github.com/codedread/bitjs
synced 2025-10-06 02:39:55 +02:00
Update exported types for image parsers.
This commit is contained in:
parent
35e8ca9458
commit
2645f57b68
16 changed files with 566 additions and 32 deletions
|
@ -73,7 +73,7 @@ export class ByteStream {
|
|||
|
||||
/**
|
||||
* Big-Endian is sometimes called Motorola-style.
|
||||
* @param {boolean=} The value to set. If not present, the stream is set to big-endian.
|
||||
* @param {boolean=} val The value to set. If not present, the stream is set to big-endian.
|
||||
*/
|
||||
setBigEndian(val = true) {
|
||||
this.littleEndian_ = !val;
|
||||
|
@ -81,7 +81,7 @@ export class ByteStream {
|
|||
|
||||
/**
|
||||
* Little-Endian is sometimes called Intel-style.
|
||||
* @param {boolean=} The value to set. If not present, the stream is set to little-endian.
|
||||
* @param {boolean=} val The value to set. If not present, the stream is set to little-endian.
|
||||
*/
|
||||
setLittleEndian(val = true) {
|
||||
this.littleEndian_ = val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue