useContents

inline fun <T : CStructVar, R> CValue<T>.useContents(block: T.() -> R): R(source)

Calls the block with temporary copy of this value as receiver.

Since Kotlin

1.3