3 writes to _currentChunk
System.ServiceModel.Primitives (3)
Internals\System\Runtime\BufferedOutputStream.cs (3)
102
_currentChunk
= bufferManager.TakeBuffer(initialSize);
133
_currentChunk
= newChunk;
173
_currentChunk
= null;
11 references to _currentChunk
System.ServiceModel.Primitives (11)
Internals\System\Runtime\BufferedOutputStream.cs (11)
106
_chunks[0] =
_currentChunk
;
113
if (
_currentChunk
.Length > (int.MaxValue / 2))
119
newChunkSize =
_currentChunk
.Length * 2;
219
buffer =
_currentChunk
;
234
Buffer.BlockCopy(
_currentChunk
, 0, buffer, offset, _currentChunkSize);
278
int remainingSizeInChunk =
_currentChunk
.Length - _currentChunkSize;
285
Buffer.BlockCopy(buffer, offset,
_currentChunk
, _currentChunkSize, remainingSizeInChunk);
287
_currentChunkSize =
_currentChunk
.Length;
296
Buffer.BlockCopy(buffer, offset,
_currentChunk
, _currentChunkSize, size);
311
if (_currentChunkSize ==
_currentChunk
.Length)
315
_currentChunk
[_currentChunkSize++] = value;