web3-utilsFunctionsbufferToIntbufferToInt CallablebufferToInt(buf: Buffer): numberConverts a Buffer to a Number.@throwsIf the input number exceeds 53 bits.Parametersbuf: BufferBuffer object to convertReturns number
Converts a
Buffer
to aNumber
.If the input number exceeds 53 bits.