MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / WriteBytes

Function WriteBytes

native/thirdpart/flatbuffers/flexbuffers.h:1354–1357  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1352 }
1353
1354 void WriteBytes(const void *val, size_t size) {
1355 buf_.insert(buf_.end(), reinterpret_cast<const uint8_t *>(val),
1356 reinterpret_cast<const uint8_t *>(val) + size);
1357 }
1358
1359 template<typename T> void Write(T val, size_t byte_width) {
1360 FLATBUFFERS_ASSERT(sizeof(T) >= byte_width);

Callers 3

KeyFunction · 0.85
WriteFunction · 0.85
CreateBlobFunction · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected