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

    Function removePdfPasswordPadding

    • Removes PDF standard password padding from a buffer. Searches from the end of the buffer for the padding pattern and removes it.

      Parameters

      • buffer: ByteArray

        The buffer with potential password padding.

      Returns Uint8Array<ArrayBuffer>

      The buffer with padding removed.

      const unpadded = removePdfPasswordPadding(paddedPassword)