Method HumanReadableSize
HumanReadableSize(long)
Converts a byte count into a human-readable string representation.
public static string HumanReadableSize(long byteCount)
Parameters
byteCount
longThe total number of bytes to convert.
Returns
- string
A string representing the byte count in a human-readable format.
HumanReadableSize(double)
Converts a byte count into a human-readable string representation.
public static string HumanReadableSize(double byteCount)
Parameters
byteCount
doubleThe total number of bytes to convert.
Returns
- string
A string representing the byte count in a human-readable format.