bufferAddLatin1

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

Similar to [harfbuzz.global.bufferAddCodepoints], but allows only access to first 256 Unicode code points that can fit in 8-bit strings.

<note>Has nothing to do with non-Unicode Latin-1 encoding.</note>

Parameters

bufferAn #hb_buffer_t
textan array of UTF-8 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)