SlebDecode
slebDecode(
pipe
):bigint
Defined in: packages/candid/src/utils/leb128.ts:135
Decode a leb encoded buffer into a bigint. The number is decoded with support for negative signed-leb encoding.
Parameters
Section titled “Parameters”A Buffer containing the signed leb encoded bits.
Returns
Section titled “Returns”bigint