Kimono.KLocale.FormatByteSize C# (CSharp) Method

FormatByteSize() public method

Converts size from bytes to the string representation using the IEC 60027-2 standard Example: formatByteSize(1024) returns "1.0 KiB" name="size" size in bytes
public FormatByteSize ( double size ) : string
size double
return string
        public string FormatByteSize(double size)
        {
            return (string) interceptor.Invoke("formatByteSize$", "formatByteSize(double) const", typeof(string), typeof(double), size);
        }