2 writes to dataStream
System.Drawing (2)
commonui\System\Drawing\Advanced\GPStream.cs (2)
38
dataStream
= new MemoryStream(bytes);
41
dataStream
= stream;
15 references to dataStream
System.Drawing (15)
commonui\System\Drawing\Advanced\GPStream.cs (15)
48
if (virtualPosition >
dataStream
.Length)
49
dataStream
.SetLength(virtualPosition);
51
dataStream
.Position = virtualPosition;
62
dataStream
.Flush();
100
return
dataStream
;
124
return
dataStream
.Read(buffer, 0, length);
135
pos =
dataStream
.Position;
137
long len =
dataStream
.Length;
141
dataStream
.Position = offset;
150
dataStream
.Position = len + offset;
159
dataStream
.Position = pos + offset;
171
return
dataStream
.Position;
176
dataStream
.SetLength(value);
181
stats.cbSize =
dataStream
.Length;
196
dataStream
.Write(buffer, 0, length);