> I think the current Stream.Seek() is a pollution of a stream
> abstraction that has been kludged with the likes of CanSeek().
I disagree. Seek() is only weird in a forward only cursor style stream,
thus a stream of bytes in which you can't go back
into.
To me that's a 'stream'. What currently is implemented as Stream is an
R/W buffer with a readpointer you can position where
you want. That of course will never be thread-safe unless the buffer is locked
per call to write/read.
FB
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com