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