bufferAddUtf16
fn
void bufferAddUtf16(harfbuzz.buffer.Buffer buffer, ushort[] text, uint itemOffset, int itemLength)See [harfbuzz.global.bufferAddCodepoints].
Replaces invalid UTF-16 characters with the buffer replacement code point, see [harfbuzz.global.bufferSetReplacementCodepoint].
Parameters
buffer | An #hb_buffer_t |
text | An array of UTF-16 characters to append |
itemOffset | The offset of the first character to add to the buffer |
itemLength | The number of characters to add to the buffer, or -1 for the end of text (assuming it is NULL terminated) |