Class VariableMarshaller<T>

    • Constructor Detail

      • VariableMarshaller

        public VariableMarshaller()
    • Method Detail

      • getFixedSize

        public int getFixedSize()
        Specified by:
        getFixedSize in interface Marshaller<T>
        Returns:
        -1 if the object do not always marshall to a fixed size, otherwise return that fixed size.
      • deepCopy

        public T deepCopy​(T source)
        Specified by:
        deepCopy in interface Marshaller<T>
        Returns:
        a deep copy of the source object.