Searched refs:kMajorTypeBitShift (Results 1 – 2 of 2) sorted by relevance
100 static constexpr uint8_t kMajorTypeBitShift = 5u; variable119 return (static_cast<uint8_t>(type) << kMajorTypeBitShift) | in EncodeInitialByte()193 *type = MajorType((initial_byte & kMajorTypeMask) >> kMajorTypeBitShift); in ReadTokenStart()
108 static constexpr uint8_t kMajorTypeBitShift = 5u;127 return (static_cast<uint8_t>(type) << kMajorTypeBitShift) |201 *type = MajorType((initial_byte & kMajorTypeMask) >> kMajorTypeBitShift);