1 write to _buffer
System.Net.Quic (1)
System\Net\Quic\Internal\ReceiveBuffers.cs (1)
19
_buffer
= default;
11 references to _buffer
System.Net.Quic (11)
System\Net\Quic\Internal\ReceiveBuffers.cs (11)
35
return
_buffer
.ActiveMemory.Length < MaxBufferedBytes;
43
if (
_buffer
.ActiveMemory.Length > MaxBufferedBytes - totalLength)
45
totalLength = MaxBufferedBytes -
_buffer
.ActiveMemory.Length;
50
_buffer
.EnsureAvailableSpace(totalLength);
60
_buffer
.AvailableMemory.CopyFrom(quicBuffer);
61
_buffer
.Commit(quicBuffer.Length);
74
if (!
_buffer
.IsEmpty)
76
MultiMemory activeBuffer =
_buffer
.ActiveMemory;
79
_buffer
.Discard(copied);
82
completed =
_buffer
.IsEmpty && _final;
83
empty =
_buffer
.IsEmpty;