[−][src]Function qt_core::q_count_leading_zero_bits_u8
pub unsafe fn q_count_leading_zero_bits_u8(v: u8) -> c_uint
Returns the number of consecutive zero bits in v, when searching from the MSB. For example, qCountLeadingZeroBits(quint32(1)) returns 31 and qCountLeadingZeroBits(quint32(8)) returns 28.
Calls C++ function: unsigned int qCountLeadingZeroBits(quint8 v)
.
Warning: no exact match found in C++ documentation. Below is the C++ documentation for uint qCountLeadingZeroBits(quint32 v)
:
Returns the number of consecutive zero bits in v, when searching from the MSB. For example, qCountLeadingZeroBits(quint32(1)) returns 31 and qCountLeadingZeroBits(quint32(8)) returns 28.
This function was introduced in Qt 5.6.