pdf-lite - v1.3.0
    Preparing search index...
    • Decodes a byte array using a custom font encoding map. Falls back to PDFDocEncoding for unmapped bytes.

      Parameters

      • bytes: ByteArray

        The byte array to decode

      • encodingMap: Map<number, string> | null

        Map from byte code to Unicode character

      Returns string

      The decoded string