Kimono.KLocale.FormatByteSize C# (CSharp) Méthode

FormatByteSize() public méthode

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
Résultat string
        public string FormatByteSize(double size)
        {
            return (string) interceptor.Invoke("formatByteSize$", "formatByteSize(double) const", typeof(string), typeof(double), size);
        }