pdf-lite - v1.0.1
    Preparing search index...

    Function pdfDecoder

    • Decodes an iterable of byte arrays into PDF objects. Allows configuring whitespace handling.

      Parameters

      • input: Iterable<ByteArray>

        Iterable of byte arrays to decode

      • Optionaloptions: { ignoreWhitespace?: boolean }

        Configuration options

        • OptionalignoreWhitespace?: boolean

          If true, whitespace tokens are ignored

      Returns Generator<PdfObject, void, any>

      A generator yielding parsed PDF objects