MCPcopy Create free account
hub / github.com/PageLeay/celestial-runtime / zeroPadValue

Function zeroPadValue

src.ts/utils/data.ts:183–185  ·  view source on GitHub ↗
(data: BytesLike, length: number)

Source from the content-addressed store, hash-verified

181 * (e.g. ``uint128``).
182 */
183export function zeroPadValue(data: BytesLike, length: number): string {
184 return zeroPad(data, length, true);
185}
186
187/**
188 * Return the [[DataHexString]] of %%data%% padded on the **right**

Callers

nothing calls this directly

Calls 1

zeroPadFunction · 0.70

Tested by

no test coverage detected