MCPcopy Create free account
hub / github.com/NetSPI/BOF-PE / WriteString

Function WriteString

common/standalone.cpp:39–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39static void WriteString(std::stringstream& ss, const char* str) {
40 auto len = strlen(str);
41 WriteInt(ss, len + 1);
42 ss.write((char*)str, len + 1);
43}
44
45static void WriteString(std::stringstream& ss, const wchar_t* str) {
46 auto len = wcslen(str) * 2;

Callers 1

GetPackedArgumentsFunction · 0.85

Calls 2

WriteIntFunction · 0.85
dataMethod · 0.45

Tested by

no test coverage detected