Bottom-LZ codec for Nintendo DS ARM9 binaries and overlay files.
Ported from the CUE BLZ reference implementation (blz.c) and the simpler arm9dec variant used in the original C++ randomizer.
Compresses input using BLZ.
Decompresses a BLZ-encoded buffer.