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