writeBytes

fun writeBytes(ptr: Int, data: ByteArray)