[Mono-bugs] [Bug 338779] Loading image from stream reset position to 0

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Nov 2 17:17:40 EDT 2007


--- Comment #1 from Sebastien Pouliot <spouliot at novell.com>  2007-11-02 15:17:40 MST ---
The stream is reset to it's origin in gdipFunction.cs

public GdiPlusStreamHelper (Stream s) 
        managedBuf = new byte [default_bufsize];

        stream = s;
        if (stream != null && stream.CanSeek) {
                stream.Seek (0, SeekOrigin.Begin);

Not yet sure if Mono depends, somewhere, on this behavior.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list