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

Method writeBytes

lib/vfs/machfs.cc:323–332  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321 }
322
323 void writeBytes(hfsfile* file, const Bytes& bytes)
324 {
325 unsigned pos = 0;
326 while (pos != bytes.size())
327 {
328 unsigned long done =
329 hfs_write(file, bytes.cbegin() + pos, bytes.size() - pos);
330 pos += done;
331 }
332 }
333
334private:
335 class HfsMount

Callers

nothing calls this directly

Calls 3

hfs_writeFunction · 0.85
cbeginMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected