Chris@43: Possible upgrades to gzfilebuf: Chris@43: Chris@43: - The ability to do putback (e.g. putbackfail) Chris@43: Chris@43: - The ability to seek (zlib supports this, but could be slow/tricky) Chris@43: Chris@43: - Simultaneous read/write access (does it make sense?) Chris@43: Chris@43: - Support for ios_base::ate open mode Chris@43: Chris@43: - Locale support? Chris@43: Chris@43: - Check public interface to see which calls give problems Chris@43: (due to dependence on library internals) Chris@43: Chris@43: - Override operator<<(ostream&, gzfilebuf*) to allow direct copying Chris@43: of stream buffer to stream ( i.e. os << is.rdbuf(); )