Converts a bytes array to a number.
To convert to number.
Number as bigint.
We now use Bytes.toBigInt internally for better performance. This function is kept public for backward compatibility.
Converts a bytes array to a number.