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

Method buf

test/beast/http/basic_parser.cpp:969–974  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

967 //--------------------------------------------------------------------------
968
969 static
970 net::const_buffer
971 buf(string_view s)
972 {
973 return {s.data(), s.size()};
974 }
975
976 template<class ConstBufferSequence, bool isRequest>
977 std::size_t

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected