Foundation
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
Format.hpp File Reference
#include <bit>
#include <Core/Container.hpp>
#include <fmt/format.h>

Go to the source code of this file.

Namespaces

namespace  Foundation
 
namespace  Foundation::Bits
 Header-only convenience utilities.
 

Functions

consteval size_t Foundation::Bits::operator""_B (unsigned long long k)
 
consteval size_t Foundation::Bits::operator""_KB (unsigned long long k)
 
consteval size_t Foundation::Bits::operator""_MB (unsigned long long k)
 
consteval size_t Foundation::Bits::operator""_GB (unsigned long long k)
 
String Foundation::Bits::formatHumanReadableSize (const uint64_t size)
 

Variables

constexpr const charFoundation::Bits::kSuffixes [] { "B", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB" }