net.conv #

fn htn16 #

fn htn16(host u16) u16

host to net 16 (htons)

fn htn32 #

fn htn32(host u32) u32

host to net 32 (htonl)

fn htn64 #

fn htn64(host u64) u64

host to net 64 (htonll)

fn nth16 #

fn nth16(host u16) u16

net to host 16 (ntohs)

fn nth32 #

fn nth32(host u32) u32

net to host 32 (ntohl)

fn nth64 #

fn nth64(net u64) u64

net to host 64 (ntohll)