Class SizeHelper
Namespace: Sisk.Core.Helpers
Assembly: Sisk.Core.dll
Provides useful size-dedicated helper members.
public sealed class SizeHelper
Inheritance
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Fields
Represents the number of bytes in one exibibyte (EiB). This is calculated as 1024 pebibytes.
Represents the number of bytes in one gibibyte (GiB). This is calculated as 1024 mebibytes.
Represents the number of bytes in one kibibyte (KiB). This is calculated as 1024 bytes.
Represents the number of bytes in one mebibyte (MiB). This is calculated as 1024 kibibytes.
Represents the number of bytes in one pebibyte (PiB). This is calculated as 1024 tebibytes.
Represents the number of bytes in one tebibyte (TiB). This is calculated as 1024 gibibytes.
Methods
Converts a byte count into a human-readable string representation.
Converts a byte count into a human-readable string representation.
Parses a human-readable size string (e.g., "10 KB", "2.5 MB") into a long representing the number of bytes.
English
Русский
Português
Español
Deutsch
中文 (简体)
日本語