run length encoding for byte slices.