1 write to _buffer
Microsoft.AspNetCore.Shared.Tests (1)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (1)
26
_buffer
= new byte[((size / IntPtr.Size) + 2) * IntPtr.Size]; // sizeof DWORD
9 references to _buffer
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\HttpSys\NativeInterop\SocketAddress.cs (9)
33
return (
_buffer
[2] << 8 & 0xFF00) | (
_buffer
[3]);
56
Array.Copy(
_buffer
, 8, bytes, 0, NumberOfIPv6Labels * 2);
63
return new IPAddress(new byte[] {
_buffer
[4],
_buffer
[5],
_buffer
[6],
_buffer
[7] });
72
fixed (byte* pBuffer = v4address.
_buffer
)
84
fixed (byte* pBuffer = v6address.
_buffer
)