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.
The array to pad
The desired length
A new Uint8Array padded to the target length
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.