| 1373 | } |
| 1374 | |
| 1375 | void WriteOffset(uint64_t o, uint8_t byte_width) { |
| 1376 | auto reloff = buf_.size() - o; |
| 1377 | FLATBUFFERS_ASSERT(byte_width == 8 || reloff < 1ULL << (byte_width * 8)); |
| 1378 | Write(reloff, byte_width); |
| 1379 | } |
| 1380 | |
| 1381 | template<typename T> void PushIndirect(T val, Type type, BitWidth bit_width) { |
| 1382 | auto byte_width = Align(bit_width); |
no test coverage detected