UNPKG

@cantoo/pdf-lib

Version:

Create and modify PDF files with JavaScript

18 lines 691 B
import PDFDict from './PDFDict'; import PDFStream from './PDFStream'; import PDFContext from '../PDFContext'; import { CipherTransform } from '../crypto'; declare class PDFRawStream extends PDFStream { static of: (dict: PDFDict, contents: Uint8Array, transform?: CipherTransform) => PDFRawStream; contents: Uint8Array; readonly transform?: CipherTransform; private constructor(); asUint8Array(): Uint8Array; clone(context?: PDFContext): PDFRawStream; getContentsString(): string; getContents(): Uint8Array; getContentsSize(): number; updateContents(contents: Uint8Array): void; } export default PDFRawStream; //# sourceMappingURL=PDFRawStream.d.ts.map