Crates.io | ipbyte |
lib.rs | ipbyte |
version | 0.1.1 |
source | src |
created_at | 2023-06-15 03:23:19.468252 |
updated_at | 2023-06-15 05:47:57.649989 |
description | ipv4 to u32,todo-> ipv6 to u128 |
homepage | |
repository | https://gitee.com/w-8/ipbyte |
max_upload_size | |
id | 890764 |
size | 4,681 |
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