Package 

Interface Serializer


  • 
    public interface Serializer<T extends Object>
    
                        

    Serializer is a type that represents a function that is a serialization transformation (converts the given instance into bytes).

    • Method Summary

      Modifier and Type Method Description
      abstract ByteArray serialize(T message) Return the serialized message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • serialize

         abstract ByteArray serialize(T message)

        Return the serialized message.

        Parameters:
        message - the message to serialize