| Constructor and Description |
|---|
ListCodec() |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(byte[] bytes)
将一个字节数组反序列化为一个对象
|
byte[] |
serialize(Object obj)
将一个 Object 序列化为字节数组
|
public byte[] serialize(Object obj)
Codecpublic <T> T deserialize(byte[] bytes)
Codecdeserialize in interface CodecT - 序列化后得到的对象类型bytes - 待反序列化的字节数组Copyright © 2019 LeanCloud. All rights reserved.