CustomDataStruct¶
- class pyds.CustomDataStruct¶
持有自定义结构体数据。
- 变量:
structId – int, 此结构体的 ID。
message – str, 嵌入在此结构体中的消息。
sampleInt – int, 示例 int 数据
- cast(self: capsule) pyds.CustomDataStruct ¶
将给定的对象/数据转换为
CustomDataStruct
, 调用 pyds.CustomDataStruct.cast(data)