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; 113if (_currentChunk.Length > (int.MaxValue / 2)) 119newChunkSize = _currentChunk.Length * 2; 219buffer = _currentChunk; 234Buffer.BlockCopy(_currentChunk, 0, buffer, offset, _currentChunkSize); 278int remainingSizeInChunk = _currentChunk.Length - _currentChunkSize; 285Buffer.BlockCopy(buffer, offset, _currentChunk, _currentChunkSize, remainingSizeInChunk); 287_currentChunkSize = _currentChunk.Length; 296Buffer.BlockCopy(buffer, offset, _currentChunk, _currentChunkSize, size); 311if (_currentChunkSize == _currentChunk.Length) 315_currentChunk[_currentChunkSize++] = value;