Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Static Public Attributes | List of all members
dart::Latin1 Class Reference

#include <unicode.h>

Static Public Member Functions

static uint16_t TryConvertToLatin1 (uint16_t c)
 

Static Public Attributes

static constexpr int32_t kMaxChar = 0xff
 

Detailed Description

Definition at line 234 of file unicode.h.

Member Function Documentation

◆ TryConvertToLatin1()

static uint16_t dart::Latin1::TryConvertToLatin1 ( uint16_t  c)
inlinestatic

Definition at line 238 of file unicode.h.

238 {
239 switch (c) {
240 // This are equivalent characters in unicode.
241 case 0x39c:
242 case 0x3bc:
243 return 0xb5;
244 // This is an uppercase of a Latin-1 character
245 // outside of Latin-1.
246 case 0x178:
247 return 0xff;
248 }
249 return c;
250 }

Member Data Documentation

◆ kMaxChar

constexpr int32_t dart::Latin1::kMaxChar = 0xff
staticconstexpr

Definition at line 236 of file unicode.h.


The documentation for this class was generated from the following file: