API to compress and decompress data using the Burrows Wheeler Transform used in BZIP2.

The chain for bzip2 compression is:
uncompressed > rle > bwt > mtf > rle > ari > compressed