LebDecode
lebDecode(
pipe
):bigint
Defined in: packages/candid/src/utils/leb128.ts:74
Decode a leb encoded buffer into a bigint. The number will always be positive (does not support signed leb encoding).
Parameters
Section titled “Parameters”A Buffer containing the leb encoded bits.
Returns
Section titled “Returns”bigint