Method
SizeHelper.HumanReadableSize
HumanReadableSize(long) #
Converts a byte count into a human-readable string representation.
public static string HumanReadableSize(long byteCount)Parameters #
byteCount long
The total number of bytes to convert.
Returns #
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 double
The total number of bytes to convert.
Returns #
A string representing the byte count in a human-readable format.