}
+ZlibCompressed::ZlibCompressed(Base &b, unsigned level):
+ ZlibCompressed(b, b.get_mode()&M_RDWR, level)
+{ }
+
ZlibCompressed::ZlibCompressed(Base &b, Mode m, unsigned level):
below(b)
{
/** Creates a zlib de/compression object. The underlying object must be
open for reading or writing, not both. The level parameter determines
compression quality, ranging from 1 (fastest) to 9 (best compression). */
- ZlibCompressed(Base &b, unsigned level = 9): ZlibCompressed(b, b.get_mode()&M_RDWR, level) { }
+ ZlibCompressed(Base &, unsigned level = 9);
/** Creates a zlib de/compression object. Mode must be either read or
write, and compatible with the underlying object. */