UNPKG

taglib-wasm

Version:

TagLib-Wasm is the universal tagging library for TypeScript/JavaScript platforms: Browsers, Node.js, Deno, Bun, Cloudflare Workers, and Electron apps

10 lines 581 B
/** * Read a file's data from various sources. * Supports file paths (Node.js/Deno/Bun), buffers, and File objects (browser). */ export declare function readFileData(file: string | Uint8Array | ArrayBuffer | File): Promise<Uint8Array>; /** Get the size of a file without reading its contents. */ export declare function getFileSize(path: string): Promise<number>; /** Read partial file data (header and footer sections). */ export declare function readPartialFileData(path: string, headerSize: number, footerSize: number): Promise<Uint8Array>; //# sourceMappingURL=file.d.ts.map