MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / GetStringA

Method GetStringA

Libraries/unrar/strlist.cpp:39–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37
38
39bool StringList::GetStringA(char *Str,size_t MaxLength)
40{
41 Array<wchar> StrW(MaxLength);
42 if (!GetString(&StrW[0],StrW.Size()))
43 return false;
44 WideToChar(&StrW[0],Str,MaxLength);
45 return true;
46}
47
48
49bool StringList::GetString(wchar *Str,size_t MaxLength)

Callers

nothing calls this directly

Calls 2

WideToCharFunction · 0.85
SizeMethod · 0.45

Tested by

no test coverage detected