Should Save(), Load() and Mmap() functions return stream/pointer in aligned state? Now they don't because tests don't require it.
| 1012 | // Should Save(), Load() and Mmap() functions return stream/pointer in aligned state? |
| 1013 | // Now they don't because tests don't require it. |
| 1014 | void NoGlueLimitCountingScanner::Save(yostream* s) const { |
| 1015 | Y_ASSERT(!AdvancedScannerCompatibilityMode); |
| 1016 | LoadedScanner::Save(s, ScannerIOTypes::NoGlueLimitCountingScanner); |
| 1017 | if (Actions) { |
| 1018 | SavePodArray(s, Actions, *Actions); |
| 1019 | } else { |
| 1020 | const ActionIndex zeroSize = 0; |
| 1021 | SavePodType(s, zeroSize); |
| 1022 | } |
| 1023 | } |
| 1024 | |
| 1025 | void NoGlueLimitCountingScanner::Load(yistream* s) { |
| 1026 | ui32 type; |
nothing calls this directly
no test coverage detected