-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make padding consistent on all operating systems
Seeking beyond the end of the stream doesn't necesarily pad it. Some versions of operating systems or platforms might yield different behavior. On my system, this occasionally failed, especially when the positive seek offset from the end of the stream was large. Changed any padding behavior with an actual cheap Pad() call to make sure this will never be an issue.
- Loading branch information
Showing
2 changed files
with
2 additions
and
7 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