Data compression library providing in-memory LZMA compression and decompression