542 B
542 B
module encoding.utf8.validate
Contents
utf8_data
fn utf8_data(data &u8, len int) bool
utf8_data returns true, if the given data block, with length len bytes, consists only of valid UTF-8 runes
utf8_string
fn utf8_string(s string) bool
utf8_string returns true, if the given string s consists only of valid UTF-8 runes