extract

fun Int.extract(offset: Int, count: Int): Int

Extracts count bits at offset from this


inline fun Int.extract(offset: Int): Boolean

Extracts a bits at offset from this (returning a Boolean)