On 2010-10-14 16:47:13 -0400, "Steven Schveighoffer" <schvei...@yahoo.com> said:

stream.position = StreamBase.atEnd;

OK, that is acceptable.  What about seeking to N bytes before the end?

What about seeking N bytes ahead of the current position (as previously stated)?

Would be nice if we could do all this:

        stream.position = $;
        stream.position = $-10;
        stream.position += 10;

The last one (+=) should be only one function call to avoid two system calls. All that's a little hard to implement though.

--
Michel Fortin
michel.for...@michelf.com
http://michelf.com/

Reply via email to