17 writes to byteLength
System.Data.Services (17)
parent\Client\System\Data\Services\Client\BatchStream.cs (17)
249this.byteLength -= count; 749this.byteLength = 0; 862this.byteLength -= count; 888this.byteLength = this.reader.Read(this.byteBuffer, this.bytePosition, this.byteBuffer.Length); 919this.byteLength -= preamble.Length; 977this.byteLength -= i; 983this.byteLength--; 992this.byteLength--; 1031this.byteLength -= 2; 1042this.byteLength -= 4; 1051this.byteLength -= 2; 1061this.byteLength -= 3; 1072this.byteLength -= 4; 1202this.byteLength -= size; 1239this.byteLength -= boundaryIndex; 1249this.byteLength += tmp; 1280this.byteLength -= size;
29 references to byteLength
System.Data.Services (29)
parent\Client\System\Data\Services\Client\BatchStream.cs (29)
246int count = Math.Min(checked((int)offset), Math.Min(this.byteLength, this.batchLength)); 258Debug.Assert(0 <= this.byteLength, "negative byteLength"); 396Debug.Assert(0 <= this.byteLength, "negative byteLength"); 503if (this.byteLength != 0) 865Debug.Assert(0 <= this.byteLength, "negative byteLength"); 885if (0 == this.byteLength) 891this.writer.Write(this.byteBuffer, this.bytePosition, this.byteLength); 906if (preamble.Length <= this.byteLength) 927return (0 < this.byteLength); 951Debug.Assert(0 < this.byteLength, "out of bytes"); 952Debug.Assert(this.bytePosition + this.byteLength <= this.byteBuffer.Length, "byte tracking out of range"); 954int end = i + Math.Min(this.byteLength, this.batchLength); 985if (('\r' == ch) && ((0 < this.byteLength) || this.ReadBuffer()) && (0 < this.batchLength)) 997Debug.Assert(0 <= this.byteLength, "negative byteLength"); 1011Debug.Assert(0 <= this.byteLength, "negative byteLength"); 1020if (this.byteLength < 2) 1036if (this.byteLength >= 4 && 1055else if (this.byteLength >= 3 && 1064else if (this.byteLength >= 4 && 1117int size = Math.Min(Math.Min(count, this.byteLength), this.batchLength) + this.bytePosition; 1185if ((size + copied == boundaryIndex) && (boundaryIndex < this.byteLength)) 1221if (boundaryIndex == this.byteLength) 1225Buffer.BlockCopy(data, this.bytePosition, data, 0, this.byteLength); 1229int tmp = this.reader.Read(this.byteBuffer, this.byteLength, this.byteBuffer.Length - this.byteLength); 1232this.writer.Write(this.byteBuffer, this.byteLength, tmp); 1274if (0 < this.byteLength) 1276int size = Math.Min(Math.Min(count, this.byteLength), this.batchLength); 1301Debug.Assert(0 <= this.byteLength, "negative byteLength");