1 write to byteBuffer
System.Data.Services.Client (1)
System\Data\Services\Client\BatchStream.cs (1)
116this.byteBuffer = new byte[DefaultBufferSize];
27 references to byteBuffer
System.Data.Services.Client (27)
System\Data\Services\Client\BatchStream.cs (27)
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); 910if (preamble[i] != this.byteBuffer[i]) 952Debug.Assert(this.bytePosition + this.byteLength <= this.byteBuffer.Length, "byte tracking out of range"); 957char ch = (char)this.byteBuffer[i]; 973s = this.Encoding.GetString(this.byteBuffer, this.bytePosition, i); 987ch = (char)this.byteBuffer[this.bytePosition]; 1028else if (this.byteBuffer[0] == 0xFE && this.byteBuffer[1] == 0xFF) 1034else if (this.byteBuffer[0] == 0xFF && this.byteBuffer[1] == 0xFE) 1037this.byteBuffer[2] == 0 && 1038this.byteBuffer[3] == 0) 1056this.byteBuffer[0] == 0xEF && 1057this.byteBuffer[1] == 0xBB && 1058this.byteBuffer[2] == 0xBF) 1065this.byteBuffer[0] == 0 && 1066this.byteBuffer[1] == 0 && 1067this.byteBuffer[2] == 0xFE && 1068this.byteBuffer[3] == 0xFF) 1119byte[] data = this.byteBuffer; 1229int tmp = this.reader.Read(this.byteBuffer, this.byteLength, this.byteBuffer.Length - this.byteLength); 1232this.writer.Write(this.byteBuffer, this.byteLength, tmp); 1277Buffer.BlockCopy(this.byteBuffer, this.bytePosition, buffer, offset, size);