LLVM 19.0.0git
llvm::msgpack::FixBitsMask Namespace Reference

Mask of bits used to identify "Fix" variants in MessagePack. More...

Detailed Description

Mask of bits used to identify "Fix" variants in MessagePack.

For example, FixStr objects encode their size in the five least significant bits of their first byte, which is identified by the bit pattern "101" in the three most significant bits. So FixBitsMask::String contains 0b11100000.

The corresponding bit pattern to mask for is found in FixBits.