Function liberate::types::literals::operator””_b(unsigned long long)

Function Documentation

inline constexpr byte liberate::types::literals::operator""_b(unsigned long long arg) noexcept

Integer and character literals are converted to bytes. Note that for longer integer literals, they are truncated by the cast, effectively resulting in (val % 256).

String literals are converted to vectors of bytes.