MCPcopy Create free account
hub / github.com/BehaviorTree/BehaviorTree.CPP / ReadScalar

Function ReadScalar

3rdparty/flatbuffers/flatbuffers/base.h:427–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

425// UBSAN: C++ aliasing type rules, see std::bit_cast<> for details.
426FLATBUFFERS_SUPPRESS_UBSAN("alignment")
427T ReadScalar(const void *p) {
428 return EndianScalar(*reinterpret_cast<const T *>(p));
429}
430
431// See https://github.com/google/flatbuffers/issues/5950
432

Callers

nothing calls this directly

Calls 1

EndianScalarFunction · 0.85

Tested by

no test coverage detected