MCPcopy 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
272void SerialPort::writeLine(const std::string& chars)
273{
274 this->write((const uint8_t*)&chars[0], chars.size());
275 writeByte('\n');
276}
277
278std::string SerialPort::readLine()
279{

Callers 1

sendrecvMethod · 0.80

Calls 2

writeMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected