7 writes to _storedOffset
System.Net.Mail (7)
System\Net\BufferedReadStream.cs (7)
55
_storedOffset
+= read;
77
_storedOffset
+= read;
99
return _storedBuffer![
_storedOffset
++];
122
_storedOffset
= 0;
130
_storedOffset
-= count;
137
_storedOffset
= 0;
144
_storedOffset
= 0;
18 references to _storedOffset
System.Net.Mail (18)
System\Net\BufferedReadStream.cs (18)
51
if (
_storedOffset
< _storedLength)
53
read = Math.Min(count, _storedLength -
_storedOffset
);
54
Buffer.BlockCopy(_storedBuffer!,
_storedOffset
, buffer, offset, read);
70
if (
_storedOffset
>= _storedLength)
75
read = Math.Min(count, _storedLength -
_storedOffset
);
76
Buffer.BlockCopy(_storedBuffer!,
_storedOffset
, buffer, offset, read);
97
if (
_storedOffset
< _storedLength)
116
if (
_storedOffset
== _storedLength)
128
if (count <=
_storedOffset
)
133
else if (count <= _storedBuffer!.Length - _storedLength +
_storedOffset
)
135
Buffer.BlockCopy(_storedBuffer,
_storedOffset
, _storedBuffer, count, _storedLength -
_storedOffset
);
136
_storedLength += count -
_storedOffset
;
141
byte[] newBuffer = new byte[count + _storedLength -
_storedOffset
];
142
Buffer.BlockCopy(_storedBuffer,
_storedOffset
, newBuffer, count, _storedLength -
_storedOffset
);
143
_storedLength += count -
_storedOffset
;
149
Buffer.BlockCopy(buffer, offset, _storedBuffer!,
_storedOffset
, count);