3 writes to _buffers
System.Net.Quic (3)
System\Net\Quic\Internal\MsQuicBuffers.cs (3)
25
_buffers
= null;
35
_buffers
= null;
45
_buffers
= (QUIC_BUFFER*)NativeMemory.AllocZeroed((nuint)count, (nuint)sizeof(QUIC_BUFFER));
11 references to _buffers
System.Net.Quic (11)
System\Net\Quic\Internal\MsQuicBuffers.cs (11)
29
public QUIC_BUFFER* Buffers =>
_buffers
;
34
QUIC_BUFFER* buffers =
_buffers
;
53
Debug.Assert(
_buffers
[index].Buffer is null);
54
Debug.Assert(
_buffers
[index].Length == 0);
56
_buffers
[index].Buffer = (byte*)NativeMemory.Alloc((nuint)buffer.Length, (nuint)sizeof(byte));
57
_buffers
[index].Length = (uint)buffer.Length;
58
buffer.Span.CopyTo(
_buffers
[index].Span);
95
if (
_buffers
[i].Buffer is null)
99
byte* buffer =
_buffers
[i].Buffer;
100
_buffers
[i].Buffer = null;
101
_buffers
[i].Length = 0;