mirai
2.16.0
common
mirai-core-api
/
net.mamoe.mirai.utils
/
DeviceInfo
/
Companion
/
deserializeFromString
deserialize
From
String
fun
deserializeFromString
(
string
:
String
)
:
DeviceInfo
将通过
serializeToString
序列化得到的字符串反序列化为
DeviceInfo
. 此函数兼容旧版 mirai 序列化的字符串.
Since
2.15