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

eu.lucaventuri.fibry.distributed.ChannelSerializer Maven / Gradle / Ivy

There is a newer version: 3.0.1
Show newest version
package eu.lucaventuri.fibry.distributed;

/**
 * Serializer that can serialize both to String and byte[]. The implementation should be optimized, so that channels should avoid a costly double translation (e.g. from String to byte[] then to String again)
 */
public interface ChannelSerializer {
    byte[] serialize(T object);

    String serializeToString(T object);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy