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

Function Write

native/thirdpart/flatbuffers/flexbuffers.h:1359–1363  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1357 }
1358
1359 template<typename T> void Write(T val, size_t byte_width) {
1360 FLATBUFFERS_ASSERT(sizeof(T) >= byte_width);
1361 val = flatbuffers::EndianScalar(val);
1362 WriteBytes(&val, byte_width);
1363 }
1364
1365 void WriteDouble(double f, uint8_t byte_width) {
1366 switch (byte_width) {

Callers 6

FinishFunction · 0.70
WriteDoubleFunction · 0.70
WriteOffsetFunction · 0.70
PushIndirectFunction · 0.70
flexbuffers.hFile · 0.70
ScalarVectorFunction · 0.70

Calls 2

EndianScalarFunction · 0.85
WriteBytesFunction · 0.85

Tested by

no test coverage detected