Class UnitUtils

    • Method Detail

      • printUnitFromBytes

        public static String printUnitFromBytes​(long bytes)
        If having a size in bytes and wanting to print this in human friendly\ format with xx kB, xx MB, xx GB instead of a large byte number.
        Parameters:
        bytes - the value in bytes