Interface Serializer

All Known Implementing Classes:
JDKSerializer, KryoSerializer

public interface Serializer
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    serialize(Object object)
    Serialize method
    unserialize(byte[] bytes)
    Unserialize method
  • Method Details

    • serialize

      byte[] serialize(Object object)
      Serialize method
      Parameters:
      object -
      Returns:
      serialized bytes
    • unserialize

      Object unserialize(byte[] bytes)
      Unserialize method
      Parameters:
      bytes -
      Returns:
      unserialized object