static short ToInt16(byte[] value, int startIndex)
static void WriteUInt32LittleEndian(Span< byte > destination, uint value)
static void WriteUInt16LittleEndian(Span< byte > destination, ushort value)
static void WriteUInt16BigEndian(Span< byte > destination, ushort value)
static ushort ReadUInt16BigEndian(ReadOnlySpan< byte > source)
static uint ReadUInt32LittleEndian(ReadOnlySpan< byte > source)
static uint GetIPv4Address(ReadOnlySpan< byte > buffer)
static void SetIPv6Address(byte[] buffer, Span< byte > address, uint scope)
static void SetAddressFamily(byte[] buffer, AddressFamily family)
static void SetPort(byte[] buffer, ushort port)
static ushort GetPort(ReadOnlySpan< byte > buffer)
static void SetIPv4Address(byte[] buffer, uint address)
static void GetIPv6Address(ReadOnlySpan< byte > buffer, Span< byte > address, out uint scope)
static AddressFamily GetAddressFamily(ReadOnlySpan< byte > buffer)
void CopyTo(Span< T > destination)