Interface MessageSizeEstimator.Handle

    • Method Detail

      • size

        int size​(Object msg)
        Calculate the size of the given message.
        Parameters:
        msg - The message for which the size should be calculated
        Returns:
        size The size in bytes. The returned size must be >= 0