Table of Contents

Method HumanReadableSize

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

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

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 double

The total number of bytes to convert.

Returns

string

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