securityos/node_modules/music-metadata/lib/musepack/sv7/BitReader.d.ts

14 lines
318 B
TypeScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
import { ITokenizer } from 'strtok3/lib/core';
export declare class BitReader {
private tokenizer;
pos: number;
private dword;
constructor(tokenizer: ITokenizer);
/**
*
* @param bits 1..30 bits
*/
read(bits: number): Promise<number>;
ignore(bits: number): Promise<number>;
}