Package com.complexible.common.memory

# Interface ExtendedObjectSerializer<T>

public interface ExtendedObjectSerializer<T>
A serializer which helps to serialize objects to `ByteWriter`s and read from `ByteReader`s. This serializer does not assume knowledge about size of objects and can serialize objects of variable size.

Since:
  4.1
Version:
  4.1
Author:
  Pavel Klinov

- ## Method Summary

  Modifier and Type
  Method
  Description
  `T`
  `read(com.complexible.common.io.ByteReader theReader)`
  `void`
  `write(T theObj, com.complexible.common.io.ByteWriter theWriter)`

- ## Method Details

  - ### read

    T read(com.complexible.common.io.ByteReader theReader) throws IOException
    Throws:
      `IOException`

  - ### write

    void write(T theObj, com.complexible.common.io.ByteWriter theWriter) throws IOException
    Throws:
      `IOException`