org.voovan.tools.serialize.Serialize Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of voovan-framework Show documentation
Show all versions of voovan-framework Show documentation
Voovan is a java framwork and it not depends on any third-party framework.
package org.voovan.tools.serialize;
/**
* 序列化实现接口
*
* @author: helyho
* DBase Framework.
* WebSite: https://github.com/helyho/DBase
* Licence: Apache v2 License
*/
public interface Serialize {
public byte[] serialize(Object obj);
/**
* 反序列化方法
* @param 范型类型
* @param bytes 反序列化后的字节
* @return 反序列化后的目标对象
*/
public T unserialize(byte[] bytes);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy