uint48 Struct Reference
This is a 48 bit variable. More...
#include <common.hpp>
Public Member Functions | |
void | set (uint64_t val) |
uint64_t | get () |
operator uint64_t () | |
uint64_t | operator= (uint64_t val) |
Public Attributes | |
std::array< uint8_t, 6 > | arr |
Detailed Description
This is a 48 bit variable.
It is intendet to be used like uint*_t. The assignment are cast operators expect uint64_t.
Definition at line 33 of file common.hpp.
Member Function Documentation
◆ get()
|
inline |
Definition at line 47 of file common.hpp.
◆ operator uint64_t()
|
inline |
Definition at line 70 of file common.hpp.
◆ operator=()
|
inline |
Definition at line 72 of file common.hpp.
◆ set()
|
inline |
Definition at line 37 of file common.hpp.
Member Data Documentation
◆ arr
std::array<uint8_t, 6> uint48::arr |
Definition at line 35 of file common.hpp.
The documentation for this struct was generated from the following file:
- /home/dominik/uni/MoonState/include/common.hpp