# SizeHelper.HumanReadableSize

Kind: Method  
Namespace: `Sisk.Core.Helpers`  
Assembly: `Sisk.Core.dll`  
Source: https://docs.sisk-framework.org/api/Sisk.Core.Helpers.SizeHelper.HumanReadableSize.html

## HumanReadableSize(long) {#Sisk_Core_Helpers_SizeHelper_HumanReadableSize_System_Int64_}

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

```csharp
public static string HumanReadableSize(long byteCount)
```

### Parameters

`byteCount` [long](https://learn.microsoft.com/dotnet/api/system.int64)

The total number of bytes to convert.

### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

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

## HumanReadableSize(double) {#Sisk_Core_Helpers_SizeHelper_HumanReadableSize_System_Double_}

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

```csharp
public static string HumanReadableSize(double byteCount)
```

### Parameters

`byteCount` [double](https://learn.microsoft.com/dotnet/api/system.double)

The total number of bytes to convert.

### Returns

[string](https://learn.microsoft.com/dotnet/api/system.string)

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