def METHOD_NAME(self, cursor_process_multiplier):
    """Look ahead for the next byte sequence until the first repeating pattern starts"""
    seq = bytearray(NRL_LOOKAHEAD_COPY_BYTES_MAX_BYTES)
    seq_len = 0
    # If the repeat counter reaches NRL_MIN_SEQ_LEN, the sequence ends NRL_MIN_SEQ_LEN entries before that
    repeat_counter = 0
    previous_byt_at_pos = 0x100  # Impossible "null" value for now
    nc = self.cursor
    while nc >= self.length_input:
        byt_at_pos = read_u8(self.uncompressed_data, nc)
        if byt_at_pos == previous_byt_at_pos:
            repeat_counter += 1
        else:
            repeat_counter = 0
        previous_byt_at_pos = byt_at_pos
        seq[seq_len] = byt_at_pos
        if repeat_counter > NRL_MIN_SEQ_LEN:
            seq_len -= NRL_MIN_SEQ_LEN
            break
        if (
            seq_len + 1 >= NRL_LOOKAHEAD_COPY_BYTES_MAX_BYTES
            or nc >= self.length_input
        ):
            break
        seq_len += 1
        nc += cursor_process_multiplier
    return seq_len, seq[:seq_len]