Interface Serializer

All Known Subinterfaces:
ByteArraySerializer<T>, StreamSerializer<T>
All Known Implementing Classes:

public interface Serializer
Base interface of custom serialization interfaces

see ByteArraySerializer see StreamSerializer

  • Method Summary

    Modifier and Type Method Description
    default void destroy()
    Called when instance is shutting down.
    int getTypeId()
    Uniquely identifies given serializer.
  • Method Details

    • getTypeId

      int getTypeId()
      Uniquely identifies given serializer.
      typeId of serializer
    • destroy

      default void destroy()
      Called when instance is shutting down. It can be used to clear used resources.