Age | Commit message (Collapse) | Author |
|
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.
|
|
That means that when you use Bu::Deflate, Bu::Bzip2, or Bu::Lzma you don't get
any of the respective libraries' header files.
|
|
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.
|