13InputStream::InputStream() =
default;
14InputStream::~InputStream() =
default;
16void InputStream::check()
28 return static_cast<int>(result);
59 if (success !=
nullptr) {
65 if (success !=
nullptr) {
74 if (v != 0 && v !=
'\r' && v !=
'\n') {
75 if (v !=
'\\' || esc >= 2) {
102 while (result > 0 && remLen > 0) {
103 result =
read(b, off, remLen);
109 return (result <= 0) ? -1 : fullLen;
A simple abstraction for a block of bytes.
An abstraction for a block of bytes, with optional responsibility for allocating/destroying that bloc...
const Bytes & bytes() const
An interface to the operating system, including Port based communication.