Enigma
3.2.0
A Simple, Reliable and Efficient Encryption Tool
|
Go to the source code of this file.
Classes | |
class | SizeUtils |
Macros | |
#define | ENIGMA_SIZE_UTILS_H |
#define | ENIGMA_BYTES_TO_KB(bytes) (static_cast<float>(bytes) / 1024.0f) |
Convert bytes to kb, mb, gb, tb. More... | |
#define | ENIGMA_BYTES_TO_MB(bytes) (static_cast<float>(bytes) / 1024.0f / 1024.0f) |
#define | ENIGMA_BYTES_TO_GB(bytes) (static_cast<float>(bytes) / 1024.0f / 1024.0f / 1024.0f) |
#define | ENIGMA_BYTES_TO_TB(bytes) (static_cast<float>(bytes) / 1024.0f / 1024.0f / 1024.0f / 1024.0f) |
#define | ENIGMA_MB_TO_BYTES(mb) (static_cast<std::size_t>(mb) * 1024 * 1024) |
Convert mb to bytes, kb, gb, tb. More... | |
#define | ENIGMA_MB_TO_KB(mb) (static_cast<std::size_t>(mb) * 1024) |
#define | ENIGMA_MB_TO_GB(mb) (static_cast<float>(mb) / 1024.0f) |
#define | ENIGMA_MB_TO_TB(mb) (static_cast<float>(mb) / 1024.0f / 1024.0f) |
#define | ENIGMA_KB_TO_BYTES(kb) (static_cast<std::size_t>(kb) * 1024) |
#define ENIGMA_BYTES_TO_GB | ( | bytes | ) | (static_cast<float>(bytes) / 1024.0f / 1024.0f / 1024.0f) |
Definition at line 42 of file SizeUtils.hpp.
#define ENIGMA_BYTES_TO_KB | ( | bytes | ) | (static_cast<float>(bytes) / 1024.0f) |
Convert bytes to kb, mb, gb, tb.
Definition at line 40 of file SizeUtils.hpp.
#define ENIGMA_BYTES_TO_MB | ( | bytes | ) | (static_cast<float>(bytes) / 1024.0f / 1024.0f) |
Definition at line 41 of file SizeUtils.hpp.
#define ENIGMA_BYTES_TO_TB | ( | bytes | ) | (static_cast<float>(bytes) / 1024.0f / 1024.0f / 1024.0f / 1024.0f) |
Definition at line 43 of file SizeUtils.hpp.
#define ENIGMA_KB_TO_BYTES | ( | kb | ) | (static_cast<std::size_t>(kb) * 1024) |
Definition at line 51 of file SizeUtils.hpp.
#define ENIGMA_MB_TO_BYTES | ( | mb | ) | (static_cast<std::size_t>(mb) * 1024 * 1024) |
Convert mb to bytes, kb, gb, tb.
Definition at line 46 of file SizeUtils.hpp.
#define ENIGMA_MB_TO_GB | ( | mb | ) | (static_cast<float>(mb) / 1024.0f) |
Definition at line 48 of file SizeUtils.hpp.
#define ENIGMA_MB_TO_KB | ( | mb | ) | (static_cast<std::size_t>(mb) * 1024) |
Definition at line 47 of file SizeUtils.hpp.
#define ENIGMA_MB_TO_TB | ( | mb | ) | (static_cast<float>(mb) / 1024.0f / 1024.0f) |
Definition at line 49 of file SizeUtils.hpp.
#define ENIGMA_SIZE_UTILS_H |
Definition at line 3 of file SizeUtils.hpp.