@classmethod
def iter_csv(cls, rows, *writer_args, write_header=False, **writer_kwargs):
    """Generate lines of encoded CSV from ``rows`` of data.

        See: ``ohio.CsvWriterTextIO``.

        """
    csv_buffer = cls(*writer_args, **writer_kwargs)
    if write_header:
        csv_buffer.writeheader()
        yield csv_buffer.read()
    for row in rows:
        csv_buffer.writerow(row)
        yield csv_buffer.read()
