6 writes to _stream
System.Data.Common (6)
System\Data\SQLTypes\SQLBytes.cs (6)
69
_stream
= null;
94
_stream
= s;
231
_stream
= value;
244
_stream
= null;
491
_stream
= null;
509
_stream
= null;
23 references to _stream
System.Data.Common (23)
System\Data\SQLTypes\SQLBytes.cs (23)
136
SqlBytesCharsState.Stream =>
_stream
!.Length,
171
if (
_stream
!.Length > x_lMaxLen)
173
buffer = new byte[
_stream
.Length];
174
if (
_stream
.Position != 0)
175
_stream
.Seek(0, SeekOrigin.Begin);
176
_stream
.ReadExactly(buffer, 0, checked((int)
_stream
.Length));
226
return FStream() ?
_stream
! : new StreamOnSqlBytes(this);
258
_stream
!.SetLength(value);
320
if (
_stream
!.Position != offset)
321
_stream
.Seek(offset, SeekOrigin.Begin);
322
return
_stream
.Read(buffer);
338
if (
_stream
!.Position != offset)
339
_stream
.Seek(offset, SeekOrigin.Begin);
340
_stream
.Write(buffer);
364
if (
_stream
!.Position != offset)
365
_stream
.Seek(offset, SeekOrigin.Begin);
366
_stream
.Write(buffer, offsetInBuffer, count);
480
long lStreamLen =
_stream
!.Length;
487
if (
_stream
.Position != 0)
488
_stream
.Seek(0, SeekOrigin.Begin);
490
_stream
.ReadExactly(_rgbBuf, 0, (int)lStreamLen);
802
_sb.
_stream
!.Flush();