Converts Bytes into unsigned BigInt.
import { bytes } from "@protofire/subgraph-devkit";const bytesData = Bytes.fromHexString("0x28fc");bytes.toUnsignedBigInt(bytesData); // => 10492
the unsigned BigInt representation of the Bytes.
the Bytes.
whether the bytes are big endian or not.
Generated using TypeDoc
Converts Bytes into unsigned BigInt.
Example
Returns
the unsigned BigInt representation of the Bytes.