Class Compress.

Inherits Command

This Compress class implements the COMPRESS=DEFLATE extension.

Wow. After only four years as a draft, and dying twice, the draft came out as RFC 4978 and is implemented by five programs at the time of publication.

Our implementation is a little primitive. Interoperates with the latest, but doesn't contain the good ideas that were added late.

Compress::Compress()

Constructs a handler for the deflate compression.

Reimplements Command::Command().

void Compress::execute()

Starts deflating, assuming all goes well.

Reimplements Command::execute().

void Compress::parse()

Parses the single argument to compress: "deflate".

Reimplements Command::parse().

This web page based on source code belonging to The Archiveopteryx Developers. All rights reserved.