def METHOD_NAME(self) -> bytes:
    """Read some bytes from the serial port."""
    line = bytes("", "utf-8")
    while self.serial.inWaiting() > 0:
        line += self.serial.METHOD_NAME(1)
    return line