![]() |
YANE-Framework 1.1.0
|
Class with static methods for code conversions. More...
Static Public Member Functions | |
static uint32_t | binaryToGray (uint32_t binary) |
static uint32_t | grayToBinary (uint32_t gray) |
Static class for code conversions.
LIB_EXPORT uint32_t yane::Utils::Code::binaryToGray | ( | uint32_t | binary | ) | [static] |
Converts a binary coded value to a gray coded value
binary | binary coded value |
LIB_EXPORT uint32_t yane::Utils::Code::grayToBinary | ( | uint32_t | gray | ) | [static] |
Converts a gray coded value to a binary coded value
gray | gray coded value |