Searched defs:UTF8 (Results 1 – 2 of 2) sorted by relevance
96 struct UTF8 { struct97 typedef CharType Ch;99 enum { supportUnicode = 1 };102 static void Encode(OutputStream& os, unsigned codepoint) { in Encode()124 static void EncodeUnsafe(OutputStream& os, unsigned codepoint) { in EncodeUnsafe()146 static bool Decode(InputStream& is, unsigned* codepoint) { in Decode()179 static bool Validate(InputStream& is, OutputStream& os) { in Validate()204 static unsigned char GetRange(unsigned char c) { in GetRange()223 static CharType TakeBOM(InputByteStream& is) { in TakeBOM()236 static Ch Take(InputByteStream& is) { in Take()[all …]
514 template<> inline void SkipWhitespace(EncodedInputStream<UTF8<>, MemoryStream>& is) { in SkipWhitespace()