MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / appendLiteral

Function appendLiteral

Libraries/Http/Internal/HttpFixedBufferWriter.h:28–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 template <size_t N>
28 Result appendLiteral(const char (&value)[N], const char* outOfSpaceError)
29 {
30 return append({value, N - 1}, outOfSpaceError);
31 }
32
33 Result appendHeader(StringSpan name, StringSpan value, const char* outOfSpaceError);
34 Result appendContentLength(uint64_t value, const char* outOfSpaceError, const char* formatError);

Callers

nothing calls this directly

Calls 1

appendFunction · 0.70

Tested by

no test coverage detected