Skip to main content
注意: 此页面尚未翻译成中文。以下内容为英文原版。
Return the DataHexString | DataHexString of 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

Returns

string The padded data.

Source

utils/data.ts:267