| 39 | constexpr uint32_t code() const { return raw & INPUT_CODE_VALUE_MASK; } |
| 40 | constexpr int toLegacy() const { return static_cast<int>(raw); } |
| 41 | constexpr bool valid() const { return raw != 0; } |
| 42 | |
| 43 | constexpr bool operator==(InputCode other) const { return raw == other.raw; } |
| 44 | constexpr bool operator!=(InputCode other) const { return raw != other.raw; } |
no outgoing calls