MCPcopy Create free account
hub / github.com/cztomczak/cefpython / FromString16

Method FromString16

src/include/internal/cef_string_wrappers.h:621–628  ·  view source on GitHub ↗

Set this string's data from an existing string16. Data will be always copied. Translation will occur if necessary based on the underlying string type.

Source from the content-addressed store, hash-verified

619 // type.
620 ///
621 bool FromString16(const base::string16& str) {
622 if (str.empty()) {
623 clear();
624 return true;
625 }
626 AllocIfNeeded();
627 return traits::from_string16(str, string_);
628 }
629
630 ///
631 // Comparison operator overloads.

Callers

nothing calls this directly

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected