43 char32_t*
data() {
return data_; }
46 const char32_t*
data()
const {
return data_; }
49 size_t length()
const {
return length_; }
52 size_t size()
const {
return length_; }
55 size_t sizeBytes()
const {
return length_ *
sizeof(char32_t); }
58 bool empty()
const {
return !data_ || length_ == 0; }
64 const char32_t&
operator[](
size_t pos)
const {
return data_[pos]; }
#define UExport
Definition Defines.h:65
A UTF-16 string container.
Definition String16.h:35
A UTF-32 string container.
Definition String32.h:20
size_t size() const
Definition String32.h:52
bool empty() const
Definition String32.h:58
const char32_t & operator[](size_t pos) const
Definition String32.h:64
char32_t & operator[](size_t pos)
Definition String32.h:61
String32 & operator=(const String32 &other)
size_t length() const
Definition String32.h:49
char32_t * data()
Definition String32.h:43
friend String32 operator+(String32 lhs, const String32 &rhs)
Definition String32.h:40
size_t sizeBytes() const
Definition String32.h:55
const char32_t * data() const
Definition String32.h:46
String32(const char32_t *c_str, size_t len)
String32(const String32 &other)
String32 & operator+=(const String32 &other)
A UTF-8 string container.
Definition String8.h:20