<reponame>htryppcook/data_salmon

class BinDatasetWriter:
    def __init__(self, dataset, records, output_encoding):
        self.records = records

    def write(self, output_stream, count):
        for _, evaluated in zip(range(0, int(count)), self.records):
            for field in evaluated:
                output_stream.write(field)

class BinDatasetWriter:
    def __init__(self, dataset, records, output_encoding):
        self.records = records

    def write(self, output_stream, count):
        for _, evaluated in zip(range(0, int(count)), self.records):
            for field in evaluated:
                output_stream.write(field)