stackAllocAndWrite

fun stackAllocAndWrite(streamId: Int, bytes: ByteArray): Int