3 writes to currentChunk
System.ServiceModel.Internals (3)
System\Runtime\BufferedOutputStream.cs (3)
103
this.
currentChunk
= bufferManager.TakeBuffer(initialSize);
134
this.
currentChunk
= newChunk;
174
this.
currentChunk
= null;
11 references to currentChunk
System.ServiceModel.Internals (11)
System\Runtime\BufferedOutputStream.cs (11)
107
this.chunks[0] = this.
currentChunk
;
114
if (this.
currentChunk
.Length > (int.MaxValue / 2))
120
newChunkSize = this.
currentChunk
.Length * 2;
220
buffer = this.
currentChunk
;
235
Buffer.BlockCopy(this.
currentChunk
, 0, buffer, offset, this.currentChunkSize);
279
int remainingSizeInChunk = this.
currentChunk
.Length - this.currentChunkSize;
286
Buffer.BlockCopy(buffer, offset, this.
currentChunk
, this.currentChunkSize, remainingSizeInChunk);
288
this.currentChunkSize = this.
currentChunk
.Length;
297
Buffer.BlockCopy(buffer, offset, this.
currentChunk
, this.currentChunkSize, size);
312
if (this.currentChunkSize == this.
currentChunk
.Length)
316
this.
currentChunk
[this.currentChunkSize++] = value;