3 writes to AvailableMemory
System.IO.Pipelines (3)
System\IO\Pipelines\BufferSegment.cs (3)
53
AvailableMemory
= memoryOwner.Memory;
59
AvailableMemory
= arrayPoolBuffer;
91
AvailableMemory
= default;
7 references to AvailableMemory
System.IO.Pipelines (7)
System\IO\Pipelines\BufferSegment.cs (3)
27
Debug.Assert(value <=
AvailableMemory
.Length);
30
Memory =
AvailableMemory
.Slice(0, value);
104
get =>
AvailableMemory
.Length - End;
System\IO\Pipelines\Pipe.cs (1)
256
_writingHeadMemory = segment.
AvailableMemory
;
System\IO\Pipelines\StreamPipeReader.cs (2)
269
Memory<byte> buffer = reader._readTail!.
AvailableMemory
.Slice(reader._readTail.End);
273
Debug.Assert(length + reader._readTail.End <= reader._readTail.
AvailableMemory
.Length);
System\IO\Pipelines\StreamPipeWriter.cs (1)
170
_tailMemory = newSegment.
AvailableMemory
;