MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / write

Method write

src/server/databuffer.cpp:632–634  ·  view source on GitHub ↗

--- WRITE --- Write data into the buffer.

Source from the content-addressed store, hash-verified

630// --- WRITE ---
631// Write data into the buffer.
632uint32_t DataBuffer::write(std::string &data) {
633 return write(data.data(), data.length());
634}
635
636
637uint32_t DataBuffer::write(const char* data, uint32_t length) {

Callers 2

verifyCallbackFunction · 0.45
readMethod · 0.45

Calls 2

dataMethod · 0.80
lengthMethod · 0.80

Tested by 1

verifyCallbackFunction · 0.36