Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Native binary.ByteOrder = binary.LittleEndian
Functions ¶
func HostToNetwork16 ¶
func HostToNetwork32 ¶
func NetIPv4ToHost32 ¶
NetIPv4ToHost32 converts an net.IP to a uint32 in host byte order. ip must be a IPv4 address, otherwise the function will panic.
func NetworkToHost16 ¶
func NetworkToHost32 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.