判断缓冲区是否为空 / Check if buffer is empty Returns: bool: 是否为空 / Whether empty
(self)
| 60 | |
| 61 | @property |
| 62 | def empty(self) -> bool: |
| 63 | """判断缓冲区是否为空 / Check if buffer is empty |
| 64 | |
| 65 | Returns: |
| 66 | bool: 是否为空 / Whether empty |
| 67 | """ |
| 68 | return bool(Library.framework().MaaStringBufferIsEmpty(self._handle)) |
| 69 | |
| 70 | def clear(self) -> bool: |
| 71 | """清空缓冲区 / Clear buffer |