MCPcopy Create free account
hub / github.com/davidgiven/fluxengine / write

Method write

lib/usb/serial.cc:262–270  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void SerialPort::write(const Bytes& bytes)
263{
264 int ptr = 0;
265 while (ptr < bytes.size())
266 {
267 ssize_t wlen = this->write(bytes.cbegin() + ptr, bytes.size() - ptr);
268 ptr += wlen;
269 }
270}
271
272void SerialPort::writeLine(const std::string& chars)
273{

Callers 14

writeByteMethod · 0.95
writeLineMethod · 0.95
writeBootSectorFunction · 0.45
insertFileFunction · 0.45
extractFileFunction · 0.45
writeToFileMethod · 0.45
writeToMethod · 0.45
writeImageMethod · 0.45
writeImageMethod · 0.45
writeImageMethod · 0.45
addFluxMethod · 0.45
~ScpSinkMethod · 0.45

Calls 2

cbeginMethod · 0.80
sizeMethod · 0.45

Tested by 1

test_writeFunction · 0.36