1 write to Pool
System.IO.Pipelines (1)
System\IO\Pipelines\StreamPipeReaderOptions.cs (1)
36Pool = pool ?? MemoryPool<byte>.Shared;
6 references to Pool
System.IO.Pipelines (6)
System\IO\Pipelines\StreamPipeReader.cs (3)
61private MemoryPool<byte> Pool => _options.Pool; 516int maxSize = !_options.IsDefaultSharedMemoryPool ? _options.Pool.MaxBufferSize : -1; 522nextSegment.SetOwnedMemory(_options.Pool.Rent(sizeToRequest));
System\IO\Pipelines\StreamPipeReaderOptions.cs (3)
38IsDefaultSharedMemoryPool = Pool == MemoryPool<byte>.Shared; 55/// <summary>Gets the minimum buffer size to use when renting memory from the <see cref="System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary> 59/// <summary>Gets the maximum buffer size to use when renting memory from the <see cref="System.IO.Pipelines.StreamPipeReaderOptions.Pool" />.</summary>