11 writes to storedOffset
System (11)
net\System\Net\mail\BufferedReadStream.cs (11)
66
this.
storedOffset
+= read;
87
this.
storedOffset
+= read;
108
return (int)this.storedBuffer[this.
storedOffset
++];
132
this.
storedOffset
= 0;
140
this.
storedOffset
-= count;
147
this.
storedOffset
= 0;
154
this.
storedOffset
= 0;
177
this.
storedOffset
= 0;
195
this.
storedOffset
= 0;
206
this.
storedOffset
= 0;
231
parent.
storedOffset
+= this.read;
30 references to storedOffset
System (30)
net\System\Net\mail\BufferedReadStream.cs (30)
62
if (this.
storedOffset
< this.storedLength)
64
read = Math.Min(count, this.storedLength - this.
storedOffset
);
65
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, buffer, offset, read);
80
if (this.
storedOffset
>= this.storedLength)
85
read = Math.Min(count, this.storedLength - this.
storedOffset
);
86
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, buffer, offset, read);
106
if (this.
storedOffset
< this.storedLength)
126
if (this.
storedOffset
== this.storedLength)
138
if (count <= this.
storedOffset
)
143
else if (count <= this.storedBuffer.Length - this.storedLength + this.
storedOffset
)
145
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, this.storedBuffer, count, this.storedLength - this.
storedOffset
);
146
this.storedLength += count - this.
storedOffset
;
151
byte[] newBuffer = new byte[count + this.storedLength - this.
storedOffset
];
152
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, newBuffer, count, this.storedLength - this.
storedOffset
);
153
this.storedLength += count - this.
storedOffset
;
158
Buffer.BlockCopy(buffer, offset, this.storedBuffer, this.
storedOffset
, count);
171
if (this.
storedOffset
== this.storedLength)
191
else if (count <= this.storedBuffer.Length - this.storedLength + this.
storedOffset
)
193
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, this.storedBuffer, 0, this.storedLength - this.
storedOffset
);
194
newBufferPosition = this.storedLength - this.
storedOffset
;
202
byte[] newBuffer = new byte[count + this.storedLength - this.
storedOffset
];
204
Buffer.BlockCopy(this.storedBuffer, this.
storedOffset
, newBuffer, 0, this.storedLength - this.
storedOffset
);
205
newBufferPosition = this.storedLength - this.
storedOffset
;
227
if (parent.
storedOffset
< parent.storedLength)
229
this.read = Math.Min(count, parent.storedLength - parent.
storedOffset
);
230
Buffer.BlockCopy(parent.storedBuffer, parent.
storedOffset
, buffer, offset, this.read);