MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / WriteBytes

Function WriteBytes

Libs/flatbuffers/flexbuffers.h:1364–1367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1362 }
1363
1364 void WriteBytes(const void *val, size_t size) {
1365 buf_.insert(buf_.end(), reinterpret_cast<const uint8_t *>(val),
1366 reinterpret_cast<const uint8_t *>(val) + size);
1367 }
1368
1369 template<typename T> void Write(T val, size_t byte_width) {
1370 FLATBUFFERS_ASSERT(sizeof(T) >= byte_width);

Callers 3

KeyFunction · 0.85
WriteFunction · 0.85
CreateBlobFunction · 0.85

Calls 2

insertMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected