@brief get the minimum alignment this buffer needs to be accessed properly. This is only known once all elements have been written (after you call Finish()). You can use this information if you need to embed a FlatBuffer in some other buffer, such that you can later read it without first having to copy it into its own buffer.
| 1376 | /// a FlatBuffer in some other buffer, such that you can later read it |
| 1377 | /// without first having to copy it into its own buffer. |
| 1378 | size_t GetBufferMinAlignment() const { |
| 1379 | Finished(); |
| 1380 | return minalign_; |
| 1381 | } |
| 1382 | |
| 1383 | /// @cond FLATBUFFERS_INTERNAL |
| 1384 | void Finished() const { |
nothing calls this directly
no test coverage detected