add_latin1


Description:

[ Version ( since = "0.9.39" ) ]
public void add_latin1 (uint8[] text, uint item_offset, int item_length)

Similar to add_codepoints, 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:

text

an array of UTF-8 characters to append

item_offset

the offset of the first character to add to the buffer

item_length

the number of characters to add to the buffer, or -1 for the end of text (assuming it is `NULL` terminated)

buffer

An Buffer

text_length

the length of the text, or -1 if it is `NULL` terminated