MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / writeData

Method writeData

source/core/StarDataStreamDevices.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12}
13
14void DataStreamFunctions::writeData(char const* data, size_t len) {
15 if (!m_writer)
16 throw DataStreamException("DataStreamFunctions no write function given");
17 m_writer(data, len);
18}
19
20DataStreamIODevice::DataStreamIODevice(IODevicePtr device)
21 : m_device(std::move(device)) {}

Callers 4

openMethod · 0.45
storeIndexMethod · 0.45
storeLeafMethod · 0.45
StarUuid.cppFile · 0.45

Calls 1

writeFullMethod · 0.80

Tested by

no test coverage detected