utf8ValidateLen
fn
bool utf8ValidateLen(ubyte[] str, out string end)Validates UTF-8 encoded text.
As with [glib.global.utf8Validate], but max_len must be set, and hence this function will always return false if any of the bytes of str are nul.
Parameters
str | a pointer to character data |
end | return location for end of valid data |
Returns
true if the text was valid UTF-8