UNPKG

app-package-builder

Version:

Idea is very simple — in the runtime we don't need to process or understand archive format. Wwe just need to know file data ranges. Where file data begins and where ends.

5 lines (4 loc) 208 B
import { FileChunks } from "builder-util-runtime/out/blockMapApi"; export declare class ContentDefinedChunker { computeChunks(fd: number, start: number, end: number, name: string): Promise<FileChunks>; }