def matchForBoundary(self):
        self._matchedCount = 0

        # Going to "buffered mode". Read until full boundary match or a
        # different character.
        while True:
            self._matchedCount += 1
            if self._matchedCount == len(self._boundary):
                # The whole boundary matched so we have reached the end of
                # file
                self._atTheEnd = True
                return -1

            fromActualStream = self._realInputStream.read()

            if fromActualStream != self._boundary[self._matchedCount]:
                # Did not find full boundary, cache the mismatching byte
                # and start returning the partially matched boundary.
                self._bufferedByte = fromActualStream
                return self.getBuffered()
Get local type information as 'typeinfo' object
dataset/ETHPy150Open rwl/muntjac/muntjac/terminal/gwt/server/abstract_communication_manager.py/SimpleMultiPartInputStream.matchForBoundary--crossover with--dataset/ETHPy150Open EiNSTeiN-/idapython/python/idc.py/GetLocalTinfo