lz4bsdiff/lz4bspatch are libraries for building and applying patches to binary files on tight RAM space environment.
lz4bspatch() function require only about LZ4 compless block size RAM.
This project includes LZ4, bspatch/bsdiff project.
This project is governed by the BSD 2-clause license. For details see the file titled LICENSE in the project root folder.
LZ4BSPATCH_BLOCK_BYTES
- LZ4 compress blocksize. Default is 512 bytes. lz4bspatch require this buffer on the stack. There is a trade-off between compression ratio and memory usage.
cmake .
make
make test
- liblz4bsdiff.a
- patch generating library.
- lz4bsdiff
- generate a patch between two binary files.
- liblz4bspatch.a
- patch applying library.
- lz4bspatch
- apply a patch built with lz4bsdiff.
- unitTest
- simple unitTest for liblz4bsdiff.a and liblz4bspatch.a