'Return the number of bytes currently in the input buffer.'

@property
def in_waiting(self):

    if (not self.is_open):
        raise portNotOpenError
    if self.logger:
        self.logger.debug('in_waiting    ->    {:d}'.format(self.queue.qsize()))
    return self.queue.qsize()
