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