序列化工具类
More...
◆ Deserialize()
| static object LeanCloud.Play.CodecUtils.Deserialize |
( |
GenericCollectionValue |
genericValue | ) |
|
|
inlinestatic |
反序列化
- Returns
- The decode.
- Parameters
-
◆ DeserializePlayObject() [1/2]
| static PlayObject LeanCloud.Play.CodecUtils.DeserializePlayObject |
( |
byte[] |
bytes | ) |
|
|
inlinestatic |
反序列化 PlayObject 对象
- Returns
- PlayObject 对象
- Parameters
-
◆ DeserializePlayObject() [2/2]
| static PlayObject LeanCloud.Play.CodecUtils.DeserializePlayObject |
( |
ByteString |
byteString | ) |
|
|
inlinestatic |
反序列化 PlayObject 对象
- Parameters
-
- Returns
- PlayObject 对象
◆ RegisterType()
注册自定义类型的序列化
- Returns
true, if type was registered, false otherwise.
- Parameters
-
| type | 类型 |
| typeId | 类型 Id |
| serializeMethod | 序列化方法 |
| deserializeMethod | 反序列化方法 |
◆ Serialize()
| static GenericCollectionValue LeanCloud.Play.CodecUtils.Serialize |
( |
object |
val | ) |
|
|
inlinestatic |
序列化
- Returns
- The encode.
- Parameters
-
◆ SerializePlayObject()
| static byte[] LeanCloud.Play.CodecUtils.SerializePlayObject |
( |
PlayObject |
playObject | ) |
|
|
inlinestatic |
序列化 PlayObject 对象
- Returns
- The play object.
- Parameters
-
The documentation for this class was generated from the following file: