edu.northwestern.at.utils

## Interface Serializer

- All Known Implementing Classes:
    CompressedSerializer

      public interface Serializer

  Interface for object serialization to and from an array of bytes.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.Object` | `deserializeFromBytes(byte[] serializedObject)` Deserialize an object from an array of bytes.
    `byte[]` | `serializeToBytes(java.lang.Object object)` Serialize an object to an array of bytes.

- - ### Method Detail

    - #### serializeToBytes

          byte[] serializeToBytes(java.lang.Object object)
                                  throws java.io.IOException

      Serialize an object to an array of bytes.
      Parameters:
        `object` - The object to serialize.
      Returns:
        Serialized object as an array of bytes.
      Throws:
        `java.io.IOException`

    - #### deserializeFromBytes

          java.lang.Object deserializeFromBytes(byte[] serializedObject)
                                                throws java.io.IOException,
                                                       java.lang.ClassNotFoundException

      Deserialize an object from an array of bytes.
      Parameters:
        `serializedObject` - Array of bytes containing a serialized object.
      Returns:
        The deserialized object.
      Throws:
        `java.io.IOException`
        `java.lang.ClassNotFoundException`