Skip to main content
Version: 4.0 (next)

Humanizer.DataUnit

DataUnit Enum

Represents the data units supported by Humanizer's data-size formatting.

public enum DataUnit

Fields

Bit 0

A bit.

Byte 1

A byte.

Kilobyte 2

A kilobyte.

Megabyte 3

A megabyte.

Gigabyte 4

A gigabyte.

Terabyte 5

A terabyte.

Petabyte 6

A petabyte.

Exabyte 7

An exabyte.

Pebibyte 8

A pebibyte.

Kibibyte 9

A kibibyte.

Mebibyte 10

A mebibyte.

Gibibyte 11

A gibibyte.

Tebibyte 12

A tebibyte.

DecimalKilobyte 13

A decimal SI kilobyte.

DecimalMegabyte 14

A decimal SI megabyte.

DecimalGigabyte 15

A decimal SI gigabyte.

DecimalTerabyte 16

A decimal SI terabyte.

DecimalPetabyte 17

A decimal SI petabyte.

DecimalExabyte 18

A decimal SI exabyte.

BinaryKibibyte 19

A binary IEC kibibyte used by explicit unit-system formatting.

BinaryMebibyte 20

A binary IEC mebibyte used by explicit unit-system formatting.

BinaryGibibyte 21

A binary IEC gibibyte used by explicit unit-system formatting.

BinaryTebibyte 22

A binary IEC tebibyte used by explicit unit-system formatting.

BinaryPebibyte 23

A binary IEC pebibyte used by explicit unit-system formatting.