#include <Utils.h>
Definition at line 46 of file Utils.h.
◆ U16String()
jetski::utils::U16String::U16String |
( |
JNIEnv * |
env, |
|
|
const jstring & |
jstr |
|
) |
| |
|
inline |
Definition at line 48 of file Utils.h.
50 , fJString(jstr)
51 , fU16String(
env->GetStringChars(jstr,
nullptr))
52 {}
◆ ~U16String()
jetski::utils::U16String::~U16String |
( |
| ) |
|
|
inline |
Definition at line 54 of file Utils.h.
54 {
55 fEnv->ReleaseStringChars(fJString, fU16String);
56 }
◆ operator const char16_t *()
jetski::utils::U16String::operator const char16_t * |
( |
| ) |
const |
|
inline |
Definition at line 58 of file Utils.h.
58{ return reinterpret_cast<const char16_t*>(fU16String); }
The documentation for this class was generated from the following file:
- third_party/skia/modules/jetski/src/Utils.h