Utility function to convert bytes to int
Value
Buffer Buffer from number(BigEndian)
use BigInt('0x' + <buffer>.toString('hex')).toString() instead
BigInt('0x' + <buffer>.toString('hex')).toString()
Utility function to convert bytes to int