tlx
Loading...
Searching...
No Matches
format_iec_units.hpp File Reference
#include <cstdint>
#include <string>

Go to the source code of this file.

Namespaces

namespace  tlx

Functions

std::string format_iec_units (std::uint64_t number, int precision=3)
 Format a byte size using IEC (Ki, Mi, Gi, Ti) suffixes (powers of two).