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

Method serializeMapContainer

source/core/StarDataStreamDevices.hpp:176–180  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174
175template <typename T>
176ByteArray DataStreamBuffer::serializeMapContainer(T const& t) {
177 DataStreamBuffer ds;
178 ds.writeMapContainer(t);
179 return ds.takeData();
180}
181
182template <typename T, typename WriteFunction>
183ByteArray DataStreamBuffer::serializeMapContainer(T const& t, WriteFunction writeFunction) {

Callers

nothing calls this directly

Calls 2

writeMapContainerMethod · 0.80
takeDataMethod · 0.45

Tested by

no test coverage detected