V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8_inspector::String16 Class Reference

Public Member Functions

 String16 (const String16 &other)
 
 String16 (String16 &&other) V8_NOEXCEPT
 
 String16 (const UChar *characters, size_t size)
 
 String16 (const UChar *characters)
 
 String16 (const char *characters)
 
 String16 (const char *characters, size_t size)
 
 String16 (const std::basic_string< UChar > &impl)
 
String16operator= (const String16 &other)
 
String16operator= (String16 &&other) V8_NOEXCEPT
 
int64_t toInteger64 (bool *ok=nullptr) const
 
int toInteger (bool *ok=nullptr) const
 
String16 stripWhiteSpace () const
 
const UChar * characters16 () const
 
size_t length () const
 
bool isEmpty () const
 
UChar operator[] (size_t index) const
 
String16 substring (size_t pos, size_t len=UINT_MAX) const
 
size_t find (const String16 &str, size_t start=0) const
 
size_t reverseFind (const String16 &str, size_t start=UINT_MAX) const
 
size_t find (UChar c, size_t start=0) const
 
size_t reverseFind (UChar c, size_t start=UINT_MAX) const
 
void swap (String16 &other)
 
std::string utf8 () const
 
std::size_t hash () const
 
bool operator== (const String16 &other) const
 
bool operator< (const String16 &other) const
 
bool operator!= (const String16 &other) const
 
String16 operator+ (const String16 &other) const
 

Static Public Member Functions

static String16 fromInteger (int)
 
static String16 fromInteger (size_t)
 
static String16 fromDouble (double)
 
static String16 fromDouble (double, int precision)
 
static String16 fromUTF8 (const char *stringStart, size_t length)
 
template<typename... T>
static String16 concat (T... args)
 

Static Public Attributes

static const size_t kNotFound = static_cast<size_t>(-1)
 

Detailed Description

Definition at line 21 of file string-16.h.


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