• Pads a Uint8Array with zeroes to the specified length. If the array is longer than the specified length, it is returned as-is.

    Parameters

    • bytes: Uint8Array
    • length: number

    Returns Uint8Array

Generated using TypeDoc