Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
49
std::size_t StandardIO::ReadSome(char *buffer, std::size_t maxSize) {
50
return _in->read_some(asio::buffer(buffer, maxSize), _code);
51
}
52
53
bool StandardIO::HasError() {
54
return _code == asio::error::eof || _code;
Callers
1
Run
Method · 0.80
Calls
3
buffer
Function · 0.85
read_some
Method · 0.45
peek
Method · 0.45
Tested by
no test coverage detected