RLE-Method This RLE implementation takes digits into account when encoding. Characters are encoded according to the following structure: /* [number of repetitions] + "|" + [char] */