KetraTerm
API · DevelopmentAll versions

writeCluster

abstract fun writeCluster(codepoints: IntArray, length: Int)

Writes a pre-segmented multi-codepoint grapheme cluster to the grid.

The array is borrowed for this call only; the sink must consume or copy its used prefix synchronously. The parser reuses it for subsequent publications.

Parameters

codepoints

The array of Unicode codepoints forming the cluster.

length

The number of valid codepoints in the array.