extract

open override fun extract(offset: Int, count: Int): Long

Extracts count bits at offset. e.g. 0b00001100.extract(2, 2) = 0b11 = 0x03.