Module section_reader

Source
Expand description

A submodule that provides the yield_section function, which is used to iterate over the save file and return the next section.

Enums§

SectionReaderError
An error that occurred while reading sections from a tape.

Functions§

yield_section
Essentially an iterator over sections in a tape. Previously a struct, but this is simpler, and makes the borrow checker happy. Returns None if there are no more sections. Otherwise, returns the next section, or reports an error.