def __init__(self, file): self.writer = PairBinWriter(FileByteBuffer(file))
def __init__(self, file): self._file = open(file.name, "wb") self.writer = PairBinWriter(FileByteBuffer(self._file))
def __init__(self, file): file.seek(0) self.reader = PairBinReader(FileByteBuffer(file))