CyberEngineMkIII
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Expressions.hpp
Go to the documentation of this file.
1 #pragma once
3 
4 namespace CYB {
5  namespace API {
7  class ByteConverters {
8  public:
14  static constexpr unsigned long long Terabytes(const unsigned long long AAmount);
20  static constexpr unsigned long long Gigabytes(const unsigned long long AAmount);
26  static constexpr unsigned long long Megabytes(const unsigned long long AAmount);
32  static constexpr unsigned long long Kilobytes(const unsigned long long AAmount);
33  };
34  };
35 };
36 
37 #include "Expressions.inl"
static constexpr unsigned long long Kilobytes(const unsigned long long AAmount)
Get the true byte value of some amount of kilobytes.
static constexpr unsigned long long Terabytes(const unsigned long long AAmount)
Get the true byte value of some amount of terabytes.
static constexpr unsigned long long Gigabytes(const unsigned long long AAmount)
Get the true byte value of some amount of gigabytes.
Converters from large byte types to smaller ones.
Definition: Expressions.hpp:7
static constexpr unsigned long long Megabytes(const unsigned long long AAmount)
Get the true byte value of some amount of megabytes.