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

Function write_string

test/doc/core_snippets.cpp:71–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69
70template<class SyncWriteStream>
71void write_string(SyncWriteStream& stream, string_view s)
72{
73 static_assert(is_sync_write_stream<SyncWriteStream>::value,
74 "SyncWriteStream type requirements not met");
75 net::write(stream, net::const_buffer(s.data(), s.size()));
76}
77
78//]
79

Callers

nothing calls this directly

Calls 3

writeFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected