Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
SocketAddressPal.cs
Go to the documentation of this file.
2
3namespace System.Net;
4
5internal static class SocketAddressPal
6{
8 {
10 }
11
12 public static void GetIPv6Address(ReadOnlySpan<byte> buffer, Span<byte> address, out uint scope)
13 {
14 buffer.Slice(8, address.Length).CopyTo(address);
16 }
17}
static uint ReadUInt32LittleEndian(ReadOnlySpan< byte > source)
static uint GetIPv4Address(ReadOnlySpan< byte > buffer)
static void GetIPv6Address(ReadOnlySpan< byte > buffer, Span< byte > address, out uint scope)
int Length
Definition Span.cs:70