summaryrefslogtreecommitdiff
path: root/src/deflate.h (follow)
AgeCommit message (Collapse)Author
2011-10-25Base64 does line wrapping correctly on write, and also doesn't try to flush theMike Buland
write buffer when reading is done. It's...strange, but yeah, it was doing that. Deflate also defaults to zlib compression now, which means you can compress & decompress without using any extra params. Turns out zlib auto-detect won't decompress raw streams, so this is the safest overall option, and the easiest to work with. zlib headers are small, and includes a crc at the end so you can be sure your data is accurate, raw does not.
2011-10-24Added some more docs.Mike Buland
2011-10-24Made the encoder state opaque to the caller in Deflate and BZip2 to match Lzma.Mike Buland
That means that when you use Bu::Deflate, Bu::Bzip2, or Bu::Lzma you don't get any of the respective libraries' header files.
2011-10-24Lzma filter added. Now we're really getting somewhere. Libbu++ now supportsMike Buland
all major, common compression algorithms.
2011-10-23Switched ito* to synchro*, except the server, I'm thinking of takeing the coreMike Buland
in a different direction anyway. Added the Deflate class, it uses zlib, and can do raw (headerless) deflate streams, zlib format, or gzip format. It's easy to use and quite versitile.