nextPowerOfTwo

fun nextPowerOfTwo(value: Int): Int

Returns the next power of two. Returns the specified value if the value is already a power of two.