There have been a couple CLs on the subject:
http://groups.google.com/group/golang-dev/browse_thread/thread/33e4e52fd2ecaa2c/427c4612473378b9
http://groups.google.com/group/golang-dev/browse_thread/thread/70b8f932f5456d16/6b59098e2d1fe39f
It seems like there's a possibility of adding it (or adding another
structure that allows it). Someone just needs to be willing to see it
through.
- Evan
No. bytes.Buffer has two separate offsets, one for reading
and one for writing. Which one should Seek manipulate?
Worse, bytes.Buffer's interface is written so that it can be
a buffer: it only needs to store data that has been written
but not yet read. If you alternate between writing to and
reading from the buffer, it will reuse the same memory instead
of growing without bound. If you add Seek, it can no longer
do that.
Russ
I am very nervous about trying to fit a Seekable item into the simple
primitives of bytes and bytes.Buffer.
-rob