Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davidgiven/fluxengine
/ writeLine
Method
writeLine
lib/usb/serial.cc:272–276 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
270
}
271
272
void SerialPort::writeLine(const std::string& chars)
273
{
274
this->write((const uint8_t*)&chars[0], chars.size());
275
writeByte(
'\n'
);
276
}
277
278
std::string SerialPort::readLine()
279
{
Callers
1
sendrecv
Method · 0.80
Calls
2
write
Method · 0.95
size
Method · 0.45
Tested by
no test coverage detected