16 writes to bytePosition
System.Data.Services (16)
17 references to bytePosition
System.Data.Services (17)
parent\Client\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);