5#ifndef BASE_STRING_UTILS_H_
6#define BASE_STRING_UTILS_H_
17template <
typename... Args>
21 std::unique_ptr<char[]> buf = std::make_unique<char[]>(
size);
23 return std::string(buf.get(), buf.get() +
size - 1);
43std::string
JoinString(std::vector<std::string>
tokens, std::string delimiter);
45 std::u16string delimiter);
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args
uint32_t uint32_t * format
std::string StringPrintf(const std::string &format, Args... args)
std::string ToUpperASCII(std::string str)
std::string UTF16ToUTF8(std::u16string src)
void ReplaceChars(std::string in, std::string from, std::string to, std::string *out)
const std::string & EmptyString()
std::u16string UTF8ToUTF16(std::string src)
constexpr char16_t kWhitespaceUTF16
bool ContainsOnlyChars(std::u16string str, char16_t ch)
std::u16string ASCIIToUTF16(std::string src)
std::string ToLowerASCII(std::string str)
std::string JoinString(std::vector< std::string > tokens, std::string delimiter)
bool LowerCaseEqualsASCII(std::string a, std::string b)
std::string NumberToString(int32_t number)
std::u16string NumberToString16(float number)
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size