Run-length Encoding,( RLE) is a technique used to reduce the size of a
repeating string of characters. This repeating string is called a run; typically RLE
encodes a run of symbols into two bytes, a count and a symbol. RLE can
compress any type of data regardless of its information content, but the content
of data to be compressed affects the compression ratio. Compression is normally
measured with the compression ratio: