Kimono.KLocale.FormatByteSize C# (CSharp) 메소드

FormatByteSize() 공개 메소드

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