MCPcopy Create free account
hub / github.com/apache/trafficserver / read_stream

Function read_stream

lib/yamlcpp/util/read.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36void usage() { std::cerr << "Usage: read [-n N] [-c, --cache] [filename]\n"; }
37
38std::string read_stream(std::istream& in) {
39 return std::string((std::istreambuf_iterator<char>(in)),
40 std::istreambuf_iterator<char>());
41}
42
43int main(int argc, char** argv) {
44 int N = 1;

Callers 1

mainFunction · 0.85

Calls 1

stringClass · 0.85

Tested by

no test coverage detected