Interface Serializer

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

public interface Serializer
Base interface of custom serialization interfaces
See Also:
  • Method Summary

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

    • getTypeId

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

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