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

Function PutN

include/cereal/external/rapidjson/stringbuffer.h:111–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109//! Implement specialized version of PutN() with memset() for better performance.
110template<>
111inline void PutN(GenericStringBuffer<UTF8<> >& stream, char c, size_t n) {
112 std::memset(stream.stack_.Push<char>(n), c, n * sizeof(c));
113}
114
115CEREAL_RAPIDJSON_NAMESPACE_END
116

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected