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