Converts a Uint8Array of bytes to a bigint.
import { bytesToBigInt } from "thirdweb/utils";const bytes = new Uint8Array([1, 164]);const bigInt = bytesToBigInt(bytes);console.log(bigInt); // 420n
The converted bigint.