def _doReadOp(self):
        self.result = self.reader.next()
        if not self.result in (0,1):
            readBuffer = self.result
            self.reader = None
            self.result = None
            self.outReadEvent(readBuffer)
dataset/ETHPy150Open CollabQ/CollabQ/vendor/gdata/tlslite/integration/AsyncStateMachine.py/AsyncStateMachine._doReadOp/original