UNPKG

pdf-lib

Version:

Create and modify PDF files with JavaScript

22 lines (21 loc) 893 B
import PDFObject from "../objects/PDFObject"; import PDFRef from "../objects/PDFRef"; import PDFContext from "../PDFContext"; import PDFFlateStream from "./PDFFlateStream"; export declare type IndirectObject = [PDFRef, PDFObject]; declare class PDFObjectStream extends PDFFlateStream { static withContextAndObjects: (context: PDFContext, objects: IndirectObject[], encode?: boolean) => PDFObjectStream; private readonly objects; private readonly offsets; private readonly offsetsString; private constructor(); getObjectsCount(): number; clone(context?: PDFContext): PDFObjectStream; getContentsString(): string; getUnencodedContents(): Uint8Array; getUnencodedContentsSize(): number; private computeOffsetsString; private computeObjectOffsets; } export default PDFObjectStream; //# sourceMappingURL=PDFObjectStream.d.ts.map