Converts the bytes from that list (big endian) to a (potentially signed) BigInt.
BigInt bytesToInt(List<int> bytes) => p_utils.decodeBigInt(bytes);