Beispiel #1
0
 def unpack(self, packCode):
     g = ReturnOrientedGenerator(self.unpackIterator(packCode))
     for waitingForStream in g: pass
     return g.result()
Beispiel #2
0
 def decode(self, stream, fieldType):
     g = ReturnOrientedGenerator(self.decodeIterator(stream, fieldType))
     for waitingForStream in g: pass
     return g.result()