def set_flag_byte_if_at_end_of_data(character_position, data_len, rgb_values):
    """
    The lsb of the blue value of a pixel is our flag bit this will always be zero until the end of our data.
    """
    if character_position == data_len - 1:
        rgb_values[-1] |= 1
