[Mono-bugs] [Bug 72588][Nor] Changed - LoadImageFromStream requires seekable stream
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 20 Feb 2005 12:19:15 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by bmaurer@users.sf.net.
http://bugzilla.ximian.com/show_bug.cgi?id=72588
--- shadow/72588 2005-02-20 09:57:49.000000000 -0500
+++ shadow/72588.tmp.29804 2005-02-20 12:19:15.000000000 -0500
@@ -66,6 +66,18 @@
Please submit a sample that we can run.
------- Additional Comments From stefan@rusek.org 2005-02-20 09:57 -------
Created an attachment (id=14264)
This is a test case for this bug
+
+------- Additional Comments From bmaurer@users.sf.net 2005-02-20 12:19 -------
+The issue is:
+
+
+if (peek) {
+ // If we are peeking bytes, then go back to original position before
+peeking
+ stream.Seek (streamPosition, SeekOrigin.Begin);
+}
+
+in StreamGetBytesImpl. This probably needs its own little buffer impl.