def inWaiting(self):
        """
        Returns the number of bytes available to be read
        """
        return len(self.data) - self.read_index
dataset/ETHPy150Open thom-nic/python-xbee/xbee/tests/Fake.py/FakeReadDevice.inWaiting/original