All Downloads are FREE. Search and download functionalities are using the official Maven repository.

vip.breakpoint.serialize.ObjectSerialize Maven / Gradle / Ivy

package vip.breakpoint.serialize;

import java.io.Serializable;

/**
 * 对象序列化接口
 *
 * @author : breakpoint/[email protected]
 * create on 2022/11/08
 * 欢迎关注公众号:代码废柴
 */
public interface ObjectSerialize {

    // 序列化
    byte[] serialize(T object);

    // 反序列化
     T deSerialize(byte[] bytes, Class clazz);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy