ByteUnit

Used by ParseByteUnits() Lowercase base 1000 Uppercase base 1024

Synopsis

Declared in <util/strencodings.h>

enum class ByteUnit : uint64_t;

Members

NameDescription
NOOP No unit, the value is taken as a raw byte count.
k Kilobytes, base 1000.
K Kibibytes, base 1024.
m Megabytes, base 1000.
M Mebibytes, base 1024.
g Gigabytes, base 1000.
G Gibibytes, base 1024.
t Terabytes, base 1000.
T Tebibytes, base 1024.