17 constexpr std::uint32_t MAX_CONSECUTIVE_SAME_BITS = 5;
19 std::uint32_t retVal = 0;
23 constexpr std::uint32_t EXTENDED_ID_BEST_NON_DATA_LENGTH = 67;
24 constexpr std::uint32_t EXTENDED_ID_WORST_NON_DATA_LENGTH = 78;
25 retVal = ((dataLengthBits + EXTENDED_ID_BEST_NON_DATA_LENGTH) + (dataLengthBits + (dataLengthBits / MAX_CONSECUTIVE_SAME_BITS) + EXTENDED_ID_WORST_NON_DATA_LENGTH));
29 constexpr std::uint32_t STANDARD_ID_BEST_NON_DATA_LENGTH = 47;
30 constexpr std::uint32_t STANDARD_ID_WORST_NON_DATA_LENGTH = 54;
31 retVal = ((dataLengthBits + STANDARD_ID_BEST_NON_DATA_LENGTH) + (dataLengthBits + (dataLengthBits / MAX_CONSECUTIVE_SAME_BITS) + STANDARD_ID_WORST_NON_DATA_LENGTH));