#ip #ipv4 #ipv6 #u128 #u32

ipbyte

ipv4 to u32,todo-> ipv6 to u128

2 releases

0.1.1 Jun 15, 2023
0.1.0 Jun 15, 2023

#13 in #u128

MIT license

3KB

ipbyte

let cc = ipv4_to_u32("192.168.1.1").unwrap();
println!("{}",cc);
let cd=u32_to_ipv4(cc);
println!("{}",cd);

output

3232235777 
192.168.1.1

No runtime deps