Could `tmp_str2` be given a better name? Even something like `bytes_part` or `bytes_pair` would be better.