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

Function PutN

include/cereal/external/rapidjson/memorybuffer.h:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62//! Implement specialized version of PutN() with memset() for better performance.
63template<>
64inline void PutN(MemoryBuffer& memoryBuffer, char c, size_t n) {
65 std::memset(memoryBuffer.stack_.Push<char>(n), c, n * sizeof(c));
66}
67
68CEREAL_RAPIDJSON_NAMESPACE_END
69

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected