asyncserial/abstract_async_wrapper.py
async def read(self, num_bytes=0) -> bytes:
        """
        Reads a given number of bytes

        :param bytecount: How many bytes to read, leave it at default
                          to read everything that is available
        :returns: incoming bytes
        """
        if num_bytes < 1:
            num_bytes = self.in_waiting or 1

        return await self._read(num_bytes)
async def read(self, num_bytes=0) -> bytes:
        """
        Reads a given number of bytes

        :param bytecount: How many bytes to read, leave it at default
                          to read everything that is available
        :returns: incoming bytes
        """
        if num_bytes < 1:
            num_bytes = self.in_waiting or 1

        return await self._read(num_bytes)
Reads a given number of bytes

        :param bytecount: How many bytes to read, leave it at default
                          to read everything that is available
        :returns: incoming bytes