Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ HostToNetworkOrder() [3/3]

static short System.Net.IPAddress.HostToNetworkOrder ( short host)
inlinestaticinherited

Definition at line 426 of file IPAddress.cs.

427 {
428 if (!BitConverter.IsLittleEndian)
429 {
430 return host;
431 }
433 }
static sbyte ReverseEndianness(sbyte value)

References System.BitConverter.IsLittleEndian, and System.Buffers.Binary.BinaryPrimitives.ReverseEndianness().