* Return the [[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``).
(data, length)
| 178 | * (e.g. ``bytes16``). |
| 179 | */ |
| 180 | function zeroPadBytes(data, length) { |
| 181 | return zeroPad(data, length, false); |
| 182 | } |
| 183 | exports.zeroPadBytes = zeroPadBytes; |
| 184 | //# sourceMappingURL=data.js.map |