3 writes to _span
Microsoft.AspNetCore.Server.Kestrel.Core (3)
src\Shared\ServerInfrastructure\BufferWriter.cs (3)
46
_span
= output.GetSpan();
83
_span
= _span.Slice(count);
129
_span
= _output.GetSpan(count);
8 references to _span
Microsoft.AspNetCore.Server.Kestrel.Core (8)
src\Shared\ServerInfrastructure\BufferWriter.cs (8)
52
public readonly Span<byte> Span =>
_span
;
83
_span =
_span
.Slice(count);
93
if (
_span
.Length >= source.Length)
95
source.CopyTo(
_span
);
111
if (
_span
.Length < count)
140
if (
_span
.Length == 0)
145
var writable = Math.Min(source.Length,
_span
.Length);
146
source.Slice(0, writable).CopyTo(
_span
);