-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split into two ranges to read messages if offsetInFileOfOldestMessage…
… > offsetInFileAtEndOfNewestMessage to avoid possible loop (#72) * Revert "Protect against crashes during header write (#66)" This reverts commit 69881ef. * Split two ranges to read messages if offsetInFileOfOldestMessage > offsetInFileAtEndOfNewestMessage to avoid possible loop * bump version * keep tests * add comment * add parameter comments * support all the way back to Xcode 11 * Apply suggestions from code review Co-authored-by: Dan Federman <dfed@me.com> * Hanle cache file as empty when offsetInFileOfOldestMessage == offsetInFileAtEndOfNewestMessage * set func nextEncodedMessage private * handle offsetInFile > endOffset in func encodedMessagesFromOffset Co-authored-by: Dan Federman <dfed@me.com>
- Loading branch information
1 parent
3a1ed6f
commit 26a1c97
Showing
4 changed files
with
74 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters