Sisk

Method

SizeHelper.HumanReadableSize

Namespace
Sisk.Core.Helpers
Assembly
Sisk.Core.dll

HumanReadableSize(long) #

Converts a byte count into a human-readable string representation.

C#
public static string HumanReadableSize(long byteCount)

Parameters #

byteCount long

The 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.

C#
public static string HumanReadableSize(double byteCount)

Parameters #

byteCount double

The total number of bytes to convert.

Returns #

string

A string representing the byte count in a human-readable format.

Type to search the documentation and the API reference.