1 write to _buffer
System.Net.WebClient (1)
src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (1)
129internal MemoryChunk(int bufferSize) { _buffer = new byte[bufferSize]; }
5 references to _buffer
System.Net.WebClient (5)
src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (5)
29Debug.Assert(chunk._next == null || chunk._freeOffset == chunk._buffer.Length); 30Buffer.BlockCopy(chunk._buffer, 0, result, offset, chunk._freeOffset); 47int remaining = _currentChunk._buffer.Length - _currentChunk._freeOffset; 51buffer.Slice(0, toCopy).CopyTo(new Span<byte>(_currentChunk._buffer, _currentChunk._freeOffset, toCopy)); 87int nextChunkLength = _currentChunk != null ? _currentChunk._buffer.Length * 2 : InitialChunkDefaultSize;