序列化工具类
More...
◆ Deserialize()
反序列化
- Returns
- The decode.
- Parameters
-
◆ DeserializePlayObject() [1/2]
static PlayObject LeanCloud.Play.CodecUtils.DeserializePlayObject |
( |
byte[] |
bytes | ) |
|
|
inlinestatic |
◆ DeserializePlayObject() [2/2]
static PlayObject LeanCloud.Play.CodecUtils.DeserializePlayObject |
( |
ByteString |
byteString | ) |
|
|
inlinestatic |
◆ RegisterType()
注册自定义类型的序列化
- Returns
true
, if type was registered, false
otherwise.
- Parameters
-
type | 类型 |
typeId | 类型 Id |
serializeMethod | 序列化方法 |
deserializeMethod | 反序列化方法 |
◆ Serialize()
序列化
- 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: