FormatSizeBinary() public static method

Format an amount of bytes to a more readible notation with binary notation symbols
public static FormatSizeBinary ( System.Int64 size ) : string
size System.Int64 Required. Int64. The raw amount of bytes
return string
コード例 #1
0
 /// <summary>Format an amount of bytes to a more readible notation with binary notation symbols</summary>
 /// <param name="size">Required. Int64. The raw amount of bytes</param>
 public static string FormatSizeBinary(Int64 size)
 {
     return(FileDownloader.FormatSizeBinary(size, default_decimals));
 }
コード例 #2
0
 public static string FormatSizeBinary(long size)
 {
     return(FileDownloader.FormatSizeBinary(size, 2));
 }