Interface ExtendedObjectSerializer<T>


  • public interface ExtendedObjectSerializer<T>
    A serializer which helps to serialize objects to ByteWriters and read from ByteReaders. 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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T read​(com.complexible.common.io.ByteReader theReader)  
      void write​(T theObj, com.complexible.common.io.ByteWriter theWriter)  
    • Method Detail

      • read

        T read​(com.complexible.common.io.ByteReader theReader)
        throws java.io.IOException
        Throws:
        java.io.IOException
      • write

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