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