Interface ObjectSizeOfStrategy

    • Method Detail

      • sizeOf

        long sizeOf​(Object obj)
        Computes the size of an object. This typically is an estimation, not an absolute accurate size.
        Parameters:
        obj - The serializable object to compute size of
        Returns:
        The size of the object in bytes. failed with -1.