mask

fun Int.mask(): Int

Creates an Int with this bits set to 1


fun Long.mask(): Long

Creates a Long with this bits set to 1


fun Int.mask(offset: Int): Int

Creates an Int with this bits set to 1, displaced offset bits


fun Long.mask(offset: Int): Long

Creates a Long with this bits set to 1, displaced offset bits