Constructor and Description |
---|
ProtoStuffSerialize() |
Modifier and Type | Method and Description |
---|---|
io.protostuff.Schema |
getSchema(Class clazz) |
byte[] |
serialize(Object obj) |
<T> T |
unserialize(byte[] bytes)
反序列化方法
|
public io.protostuff.Schema getSchema(Class clazz)
public <T> T unserialize(byte[] bytes)
Serialize
unserialize
in interface Serialize
T
- 范型类型bytes
- 反序列化后的字节Copyright © 2020 Voovan. All rights reserved.