prevSetBit

fun prevSetBit(index: Long): Long

Returns the index of the last set bit before or on the index specified. -1 is returned if there are no more set bits.