def METHOD_NAME(self, src, dest):
    for line in src:
        dest.write(line)
        if line.strip().startswith(self.START):
            return line.find(self.START)
    raise RuntimeError("can't find start marker!")