V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
unibrow::Utf16 Class Reference

Static Public Member Functions

static bool IsSurrogatePair (int lead, int trail)
 
static bool IsLeadSurrogate (int code)
 
static bool IsTrailSurrogate (int code)
 
static int CombineSurrogatePair (uchar lead, uchar trail)
 
static uint16_t LeadSurrogate (uint32_t char_code)
 
static uint16_t TrailSurrogate (uint32_t char_code)
 

Static Public Attributes

static const int kNoPreviousCharacter = -1
 
static const uchar kMaxNonSurrogateCharCode = 0xffff
 
static const int kMaxExtraUtf8BytesForOneUtf16CodeUnit = 3
 
static const int kUtf8BytesToCodeASurrogate = 3
 

Detailed Description

Definition at line 99 of file unicode.h.


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