class ZlibWriter
pub class ZlibWriter<W :: [Writer]> :: [Writer, Closeable]
Conforms to Writer, Closeable.
A Writer that compresses into a zlib stream: the header, the deflate blocks, the Adler-32 at
close.
Methods
pub static fn new(inner: W, level: int = 6): ZlibWriter<W> throws CompressError
pub mut fn write(from: Slice<uint8>): int throws [IoError, Cancelled]
pub mut fn flush(): void throws [IoError, Cancelled]
pub fn close(): void throws [IoError, Cancelled]