59 return static_cast<std::uint32_t
>(flags) << 24U;
73 switch (
auto value =
static_cast<common_flags>(flags >> 24U)) {
141 return (flags >> 29U) > 0;
Definition codec_flags.hxx:23
constexpr std::uint32_t binary_common_flags
Definition codec_flags.hxx:146
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:95
constexpr std::uint32_t string_common_flags
Definition codec_flags.hxx:147
common_flags
Definition codec_flags.hxx:42
constexpr std::uint32_t private_common_flags
Definition codec_flags.hxx:144
constexpr auto extract_common_flags(std::uint32_t flags) -> common_flags
Returns only the common flags from the full flags.
Definition codec_flags.hxx:71
constexpr std::uint32_t common_format_mask
32bit flag is composed of:
Definition codec_flags.hxx:40
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:139
constexpr std::uint32_t json_common_flags
Definition codec_flags.hxx:145
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:57
std::vector< std::byte > binary
Definition encoded_value.hxx:25