MCPcopy Create free account
hub / github.com/boostorg/beast / buf

Method buf

test/beast/http/parser.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 parser<isRequest, string_body>;
36
37 static
38 net::const_buffer
39 buf(string_view s)
40 {
41 return {s.data(), s.size()};
42 }
43
44 template<class ConstBufferSequence,
45 bool isRequest>

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected