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