UNPKG

@cantoo/pdf-lib

Version:

Create and modify PDF files with JavaScript

13 lines 493 B
import DecodeStream from './DecodeStream'; import { StreamType } from './Stream'; type DecryptFnType = (arg1: Uint8Array | Uint8ClampedArray, arg2: boolean) => Uint8Array; declare class DecryptStream extends DecodeStream { private stream; private initialized; private nextChunk; private decrypt; constructor(stream: StreamType, decrypt: DecryptFnType, maybeLength?: number); readBlock(): void; } export default DecryptStream; //# sourceMappingURL=DecryptStream.d.ts.map