MCPcopy Create free account
hub / github.com/USCiLab/cereal / String

Method String

include/cereal/external/rapidjson/writer.h:202–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200 }
201
202 bool String(const Ch* str, SizeType length, bool copy = false) {
203 CEREAL_RAPIDJSON_ASSERT(str != 0);
204 (void)copy;
205 Prefix(kStringType);
206 return EndValue(WriteString(str, length));
207 }
208
209#if CEREAL_RAPIDJSON_HAS_STDSTRING
210 bool String(const std::basic_string<Ch>& str) {

Callers

nothing calls this directly

Calls 4

StringClass · 0.85
StrLenFunction · 0.85
dataMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected