Papyrix supports adding (via power button or a menu) & removing bookmarks on particular pages of an ebook. As such its UI state for viewing ebooks defers to dedicated class for tracking this data on the SD card.
This class tracks an array, directly casting it to/from bytes to be carefully stored in a file if valid. There's also a method for iterating over this array looking for the entry referencing a particular page & (for ePub) section.
Entries have a 64 char label.
1/1 Fin for today!