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

Function CopyInline

native/thirdpart/flatbuffers/reflection.cpp:369–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

367}
368
369void CopyInline(FlatBufferBuilder &fbb, const reflection::Field &fielddef,
370 const Table &table, size_t align, size_t size) {
371 fbb.Align(align);
372 fbb.PushBytes(table.GetStruct<const uint8_t *>(fielddef.offset()), size);
373 fbb.TrackField(fielddef.offset(), fbb.GetSize());
374}
375
376Offset<const Table *> CopyTable(FlatBufferBuilder &fbb,
377 const reflection::Schema &schema,

Callers 1

CopyTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected