in src/logic/IPUtils.js [39:49]
static dotToDec(address) {
const octets = address.match(/(\d+)/g);
let total = 0;
for (const i in octets) {
if (Object.prototype.hasOwnProperty.call(octets, i)) {
const mul = 2 ** ((3 - i) * 8);
total += octets[i] * mul;
}
}
return total;
}