PKI-Lite - v1.0.5
    Preparing search index...

    Function padUint8Array

    • Pads a Uint8Array to the specified length by adding zeros to the left. If the array is already at or exceeds the target length, it is returned as-is.

      Parameters

      • array: Uint8Array

        The array to pad

      • targetLength: number

        The desired length

      Returns Uint8Array

      A new Uint8Array padded to the target length