|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
public interface Serializer<RESULT extends Bytable>
Serializer is used to serialize object to bytes and de-serialize bytes to object
A CONTRACT here: To make sure halt status in Bytable can be serialized or de-serialized. Please make sure to
write and read halt status in Bytable.
| 方法摘要 | |
|---|---|
RESULT |
bytesToObject(byte[] data,
String className)
Transform byte array to object. |
byte[] |
objectToBytes(RESULT result)
Transform object to byte array. |
| 方法详细信息 |
|---|
byte[] objectToBytes(RESULT result)
RESULT bytesToObject(byte[] data,
String className)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||