UNPKG

pdf-lib

Version:

Create and modify PDF files with JavaScript

15 lines (14 loc) 553 B
import PDFDict from "../objects/PDFDict"; import PDFStream from "../objects/PDFStream"; import { Cache } from "../../utils"; declare class PDFFlateStream extends PDFStream { protected readonly contentsCache: Cache<Uint8Array>; protected readonly encode: boolean; constructor(dict: PDFDict, encode: boolean); computeContents: () => Uint8Array; getContents(): Uint8Array; getContentsSize(): number; getUnencodedContents(): Uint8Array; } export default PDFFlateStream; //# sourceMappingURL=PDFFlateStream.d.ts.map