proxy.golang.org : github.com/gilwo/ipnumbers
convert ipv4 to number representation: ipv4 is 4 octec which can be represented in 32 bit number convert ipv6 to number represenation: ipv6 is 16 octec which can be represneted in 2 64 bit number (a bit simpler then one 128 bit number) ipv4 example: ip: 192.168.1.1 number: 192 * (1 << (8*3)) + 168 * (1 << (8*2)) + 1 * (1 << (8*1) + 1 * (1 << (8*0) convert number to ipv4: number = 3232235777 ip:
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/gilwo/ipnumbers
License: MIT
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/gilwo
Stars: 0 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: about 1 month ago