UNPKG

node-unrar-js

Version:

Pure JavaScript RAR archive extractor by compile the official unrar lib by Emscripten.

14 lines (13 loc) 369 B
import { SeekMethod } from './Extractor'; export declare class DataFile { private buffers; private size; private pos; constructor(data?: Uint8Array); read(size: number): Uint8Array | null; readAll(): Uint8Array; write(data: Uint8Array): boolean; tell(): number; seek(pos: number, method: SeekMethod): boolean; private flatten; }