Pads a Buffer with null characters on the left until the length is equal to the specified length.
If the value's length is greater than the specified length, returns the original value.
Parameters
value: Buffer
The value to be padded with null characters
length: number
The desired length of the padded value
Returns Buffer<ArrayBuffer>
A new Buffer that is the original value padded with null characters
Pads a Buffer with null characters on the left until the length is equal to the specified length. If the value's length is greater than the specified length, returns the original value.