unpak.js
Version:
Modern TypeScript library for reading Unreal Engine pak files and assets, inspired by CUE4Parse
25 lines • 710 B
TypeScript
/**
* Handles oodle dll downloading
*/
export declare class OodleDownloader {
private static readonly CDN_BASE_URL;
private static readonly CDN_INDEX_URL;
static readonly OODLE_FILE_NAME: string;
/**
* Decompress the response body of the provided url using lzma
* @param {string} url URL to request data from
* @returns {Promise<Buffer>} Decompressed body
* @private
* @static
*/
private static lzmaGet;
/**
* Downloads oodle .dll
* @param {string} path Path to write oodle to
* @returns {Promise<void>}
* @public
* @static
*/
static download(path: string): Promise<void>;
}
//# sourceMappingURL=OodleDownloader.d.ts.map