Converters from large byte types to smaller ones.
More...
#include <Expressions.hpp>
|
static constexpr unsigned long long | Terabytes (const unsigned long long AAmount) |
| Get the true byte value of some amount of terabytes. More...
|
|
static constexpr unsigned long long | Gigabytes (const unsigned long long AAmount) |
| Get the true byte value of some amount of gigabytes. More...
|
|
static constexpr unsigned long long | Megabytes (const unsigned long long AAmount) |
| Get the true byte value of some amount of megabytes. More...
|
|
static constexpr unsigned long long | Kilobytes (const unsigned long long AAmount) |
| Get the true byte value of some amount of kilobytes. More...
|
|
Converters from large byte types to smaller ones.
Definition at line 7 of file Expressions.hpp.
static constexpr unsigned long long CYB::API::ByteConverters::Gigabytes |
( |
const unsigned long long |
AAmount | ) |
|
|
static |
Get the true byte value of some amount of gigabytes.
- Parameters
-
AAmount | The number of gigabytes |
- Returns
- The number of bytes in
AAmount
GB
static constexpr unsigned long long CYB::API::ByteConverters::Kilobytes |
( |
const unsigned long long |
AAmount | ) |
|
|
static |
Get the true byte value of some amount of kilobytes.
- Parameters
-
AAmount | The number of kilobytes |
- Returns
- The number of bytes in
AAmount
KB
static constexpr unsigned long long CYB::API::ByteConverters::Megabytes |
( |
const unsigned long long |
AAmount | ) |
|
|
static |
Get the true byte value of some amount of megabytes.
- Parameters
-
AAmount | The number of megabytes |
- Returns
- The number of bytes in
AAmount
MB
static constexpr unsigned long long CYB::API::ByteConverters::Terabytes |
( |
const unsigned long long |
AAmount | ) |
|
|
static |
Get the true byte value of some amount of terabytes.
- Parameters
-
AAmount | The number of terabytes |
- Returns
- The number of bytes in
AAmount
TB
The documentation for this class was generated from the following file: