Documentation Index
Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
Use this file to discover all available pages before exploring further.
data padded on the right to length bytes.
If data already exceeds %%length%%, a BufferOverrunError is thrown.
This pads data the same as bytes are in Solidity (e.g. bytes16).
Parameters
| Parameter | Type | Description |
|---|---|---|
data | BytesLike | The data to pad. |
length | number | The length to pad to. |
Returns
string
The padded data.
