MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / ReadSome

Method ReadSome

CodeFormatServer/src/Session/StandardIOSession.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49std::size_t StandardIO::ReadSome(char *buffer, std::size_t maxSize) {
50 return _in->read_some(asio::buffer(buffer, maxSize), _code);
51}
52
53bool StandardIO::HasError() {
54 return _code == asio::error::eof || _code;

Callers 1

RunMethod · 0.80

Calls 3

bufferFunction · 0.85
read_someMethod · 0.45
peekMethod · 0.45

Tested by

no test coverage detected