def METHOD_NAME(
    self, full_binary: bytes, out_data: bytearray, pointer: u32
) -> u32:
    """Add the string that's being pointed to to in full_binary to out_data and return a new relative pointer"""
    str_len, string = read_var_length_string(full_binary, pointer)
    new_pointer = u32_checked(len(out_data))
    out_data += bytes(string, string_codec.PMD2_STR_ENCODER)
    number_of_nulls = self._read_nulls(full_binary, pointer + str_len) + 1
    out_data += b"\0" * number_of_nulls
    return new_pointer