60 return static_cast<std::uint32_t
>(flags) << 24U;
74 switch (
auto value =
static_cast<common_flags>(flags >> 24U)) {
142 return (flags >> 29U) > 0;
Definition codec_flags.hxx:24
constexpr std::uint32_t binary_common_flags
Definition codec_flags.hxx:147
constexpr auto has_common_flags(std::uint32_t flags) -> bool
Checks whether the upper 8 bits are set, indicating common flags presence.
Definition codec_flags.hxx:96
constexpr std::uint32_t string_common_flags
Definition codec_flags.hxx:148
common_flags
Definition codec_flags.hxx:43
constexpr std::uint32_t private_common_flags
Definition codec_flags.hxx:145
constexpr auto extract_common_flags(std::uint32_t flags) -> common_flags
Returns only the common flags from the full flags.
Definition codec_flags.hxx:72
constexpr std::uint32_t common_format_mask
32bit flag is composed of:
Definition codec_flags.hxx:41
constexpr auto has_compression_flags(std::uint32_t flags) -> bool
Checks whether the upper 3 bits are set, indicating compression presence.
Definition codec_flags.hxx:140
constexpr std::uint32_t json_common_flags
Definition codec_flags.hxx:146
constexpr auto create_common_flags(common_flags flags) -> std::uint32_t
Takes a enum representation of common flags and moves them to the common flags MSBs.
Definition codec_flags.hxx:58
std::vector< std::byte > binary
Definition encoded_value.hxx:25