16 writes to bytePosition
System.Data.Services.Client (16)
System\Data\Services\Client\BatchStream.cs (16)
248this.bytePosition += count; 861this.bytePosition += count; 887this.bytePosition = 0; 920this.bytePosition += preamble.Length; 976this.bytePosition += i; 982this.bytePosition++; 991this.bytePosition++; 1030this.bytePosition = 2; 1041this.bytePosition = 4; 1050this.bytePosition = 2; 1060this.bytePosition = 3; 1071this.bytePosition = 4; 1201this.bytePosition += size; 1226this.bytePosition = 0; 1238this.bytePosition += boundaryIndex; 1279this.bytePosition += size;
17 references to bytePosition
System.Data.Services.Client (17)
System\Data\Services\Client\BatchStream.cs (17)
857Buffer.BlockCopy(this.byteBuffer, this.bytePosition, tmp, oldSize, count); 888this.byteLength = this.reader.Read(this.byteBuffer, this.bytePosition, this.byteBuffer.Length); 891this.writer.Write(this.byteBuffer, this.bytePosition, this.byteLength); 952Debug.Assert(this.bytePosition + this.byteLength <= this.byteBuffer.Length, "byte tracking out of range"); 953int i = this.bytePosition; 965i -= this.bytePosition; 973s = this.Encoding.GetString(this.byteBuffer, this.bytePosition, i); 987ch = (char)this.byteBuffer[this.bytePosition]; 1006i -= this.bytePosition; 1117int size = Math.Min(Math.Min(count, this.byteLength), this.batchLength) + this.bytePosition; 1120for (int i = this.bytePosition; i < size; ++i) 1131Debug.Assert(this.bytePosition <= size, "negative size"); 1146Debug.Assert(this.bytePosition <= size, "negative size"); 1158size -= this.bytePosition; 1223if (0 < this.bytePosition) 1225Buffer.BlockCopy(data, this.bytePosition, data, 0, this.byteLength); 1277Buffer.BlockCopy(this.byteBuffer, this.bytePosition, buffer, offset, size);