Size

Enumeration of various valid filesize denominations.

Values

ValueMeaning
BYTESSizeDenomination(1, "B", "Byte")
KILOBYTESSizeDenomination(1000, "KB", "Kilobyte")
MEGABYTESSizeDenomination(pow(1000, 2), "MB", "Megabyte")
GIGABYTESSizeDenomination(pow(1000, 3), "GB", "Gigabyte")
TERABYTESSizeDenomination(pow(1000, 4), "TB", "Terabyte")
KIBIBYTESSizeDenomination(1024, "KiB", "Kibibyte")
MEBIBYTESSizeDenomination(pow(1024, 2), "MiB", "Mebibyte")
GIBIBYTESSizeDenomination(pow(1024, 3), "GiB", "Gibibyte")
TEBIBYTESSizeDenomination(pow(1024, 4), "TiB", "Tebibyte")

Meta