11 references to _buffer
System.Net.ServerSentEvents (11)
System\Net\ServerSentEvents\PooledByteBufferWriter.cs (11)
14public void Advance(int count) => _buffer.Commit(count); 18_buffer.EnsureAvailableSpace(Math.Max(sizeHint, MinimumBufferSize)); 19return _buffer.AvailableMemory; 24_buffer.EnsureAvailableSpace(Math.Max(sizeHint, MinimumBufferSize)); 25return _buffer.AvailableSpan; 28public ReadOnlyMemory<byte> WrittenMemory => _buffer.ActiveMemory; 29public int Capacity => _buffer.Capacity; 30public int WrittenCount => _buffer.ActiveLength; 31public void Reset() => _buffer.Discard(_buffer.ActiveLength); 32public void Dispose() => _buffer.Dispose();