Pads an array of bytes on the left side with zeros to make it a fixed length of 4 bytes.
The array of bytes to pad.
padArrayBytesLeft([1, 2, 3]);//=> [0, 1, 2, 3]padArrayBytesLeft([1]);//=> [0, 0, 0, 1] Copy
padArrayBytesLeft([1, 2, 3]);//=> [0, 1, 2, 3]padArrayBytesLeft([1]);//=> [0, 0, 0, 1]
Generated using TypeDoc
Pads an array of bytes on the left side with zeros to make it a fixed length of 4 bytes.