summaryrefslogtreecommitdiff
path: root/rld-compression.cpp (follow)
AgeCommit message (Collapse)Author
2012-12-21Decompressor fixes.Chris Johns
Make reading compressed files more robust returning the amount of data that can be read. Also add >> operartors to get the data. Add exceptions when a read fails.
2012-12-19Turn off the debug.Chris Johns
2012-12-19Decompression support added.Chris Johns
The compressor can now decompress LZ77 files.
2012-12-18Update the data out pointer.Chris Johns
The data pointer was not updating when looping. Fix the total stats to track the data in the buffer.
2012-11-29Compress as blocks.Chris Johns
The LZ77 compressor works with blocks. Each block is prefixed with a header that defines the output size of the block being compressed.
2012-11-26Add writing from images as well as streaming operators.Chris Johns
Add the ability to write to the compressed stream directly from files::images. Add streaming operator support which is always in a standard byte format in the output image.
2012-11-22Split out the compression code for reuse.Chris Johns