| 122 | }; |
| 123 | |
| 124 | inline TimeUnit::type FromFlatbufferEnum(fbs::TimeUnit unit) { |
| 125 | return static_cast<TimeUnit::type>(static_cast<int>(unit)); |
| 126 | } |
| 127 | |
| 128 | /// For compatibility, we need to write any data sometimes just to keep producing |
| 129 | /// files that can be read with an older reader. |