bufferAddUtf32

fnvoid bufferAddUtf32(harfbuzz.buffer.Buffer buffer, uint[] text, uint itemOffset, int itemLength)

See [harfbuzz.global.bufferAddCodepoints].

Replaces invalid UTF-32 characters with the buffer replacement code point, see [harfbuzz.global.bufferSetReplacementCodepoint].

Parameters

bufferAn #hb_buffer_t
textAn array of UTF-32 characters to append
itemOffsetThe offset of the first character to add to the buffer
itemLengthThe number of characters to add to the buffer, or -1 for the end of text (assuming it is NULL terminated)