useMemory
expect fun <R> ByteArray.useMemory(offset: Int = 0, length: Int, block: (Memory) -> R): R
TODO KTOR-1673: Solve design problems