2 writes to Length
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicBuffers.cs (2)
57
_buffers[index].
Length
= (uint)buffer.Length;
101
_buffers[i].
Length
= 0;
8 references to Length
System.Net.Quic (8)
System\Net\Quic\Internal\MsQuicBuffers.cs (1)
54
Debug.Assert(_buffers[index].
Length
== 0);
System\Net\Quic\Interop\msquic.cs (1)
23
public readonly Span<byte> Span => new(Buffer, (int)
Length
);
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (6)
100
if (certificateBuffer->
Length
> 0)
102
certDataRented = ArrayPool<byte>.Shared.Rent((int)certificateBuffer->
Length
);
103
certData = certDataRented.AsMemory(0, (int)certificateBuffer->
Length
);
107
if (chainBuffer->
Length
> 0)
109
chainDataRented = ArrayPool<byte>.Shared.Rent((int)chainBuffer->
Length
);
110
chainData = chainDataRented.AsMemory(0, (int)chainBuffer->
Length
);