Class DeserializeResult<T>

  • Type Parameters:
    T - Type of object

    public class DeserializeResult<T>
    extends Object
    Returns an object and its size in bytes as a result of a deserialize operation
    • Constructor Detail

      • DeserializeResult

        public DeserializeResult​(T object,
                                 int size)
        Creates an instance.
        Parameters:
        object - Deserialized object.
        size - Deserialized size in bytes.
    • Method Detail

      • getObject

        public T getObject()
        Returns:
        Deserialized object
      • getSize

        public int getSize()
        Returns:
        Size in bytes occupied by the object in the serialized form