HostToNetwork
function HostToNetwork(aValue: Word): Word; overload; inline;
Convert native integer storage to network order, or back.
function HostToNetwork(aValue: UInt32): UInt32; overload; inline;
function HostToNetwork(aValue: UInt64): UInt64; overload;
Encodes all 64 bits as eight network-order octets in native storage. Pass a UInt64 argument to select this width without narrowing.