|
|
@ -172,7 +172,7 @@ internal sealed class BufferedReadStream : Stream |
|
|
|
|
|
|
|
|
// Too big for remaining buffer but less than entire buffer length
|
|
|
// Too big for remaining buffer but less than entire buffer length
|
|
|
// Copy to buffer then read from there.
|
|
|
// Copy to buffer then read from there.
|
|
|
if (this.readBufferIndex < 0 || (this.readBufferIndex > this.BufferSize - count)) |
|
|
if ((uint)this.readBufferIndex > (uint)(this.BufferSize - count)) |
|
|
{ |
|
|
{ |
|
|
return this.ReadToBufferViaCopySlow(buffer); |
|
|
return this.ReadToBufferViaCopySlow(buffer); |
|
|
} |
|
|
} |
|
|
|