first
This commit is contained in:
10
node_modules/image-size/dist/utils/bit-reader.d.ts
generated
vendored
Normal file
10
node_modules/image-size/dist/utils/bit-reader.d.ts
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
/** This class helps read Uint8Array bit-by-bit */
|
||||
export declare class BitReader {
|
||||
private readonly input;
|
||||
private readonly endianness;
|
||||
private byteOffset;
|
||||
private bitOffset;
|
||||
constructor(input: Uint8Array, endianness: 'big-endian' | 'little-endian');
|
||||
/** Reads a specified number of bits, and move the offset */
|
||||
getBits(length?: number): number;
|
||||
}
|
||||
Reference in New Issue
Block a user