1 write to _freeOffset
System.Net.WebClient (1)
src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (1)
54
_currentChunk.
_freeOffset
+= toCopy;
5 references to _freeOffset
System.Net.WebClient (5)
src\libraries\Common\src\System\IO\ChunkedMemoryStream.cs (5)
29
Debug.Assert(chunk._next == null || chunk.
_freeOffset
== chunk._buffer.Length);
30
Buffer.BlockCopy(chunk._buffer, 0, result, offset, chunk.
_freeOffset
);
31
offset += chunk.
_freeOffset
;
47
int remaining = _currentChunk._buffer.Length - _currentChunk.
_freeOffset
;
51
buffer.Slice(0, toCopy).CopyTo(new Span<byte>(_currentChunk._buffer, _currentChunk.
_freeOffset
, toCopy));