UNPKG

@cantoo/pdf-lib

Version:

Create and modify PDF files with JavaScript

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