Table of Contents

Class SizeHelper

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

Provides useful size-dedicated helper members.

public sealed class SizeHelper
Inheritance
SizeHelper
Inherited Members

Constructors

SizeHelper()

Fields

UnitEb

Represents the number of bytes in one exabyte (TB). This is calculated as 1024 terabytes.

UnitGb

Represents the number of bytes in one gigabyte (GB). This is calculated as 1024 megabytes.

UnitKb

Represents the number of bytes in one kilobyte (KB).

UnitMb

Represents the number of bytes in one megabyte (MB). This is calculated as 1024 kilobytes.

UnitTb

Represents the number of bytes in one terabyte (TB). This is calculated as 1024 gigabytes.

Methods

HumanReadableSize(long)

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