hex2ip
Converts an hex IP address into an decimal representation of it.
Created by: hackvertor
Installed 1 times
Category: IP
Created on: Tuesday, October 22, 2024 at 6:36:42 PM
Updated on: Wednesday, November 20, 2024 at 11:06:10 AM
Tag arguments
[]
Code
class hex2ip {
encode(input) {
return input
.split(".")
.map((hex) => parseInt(hex, 16))
.join(".");
}
}