Added support for RLE compressed encoding.