-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement Abort() on XZStreamBase (#14)
Abort() is useful when an user wants to shudown XZStream immediately. The original intended operation to abort is good old Close(), but there is a report that Dispose()'s internal flushing takes a quite amount of time. To mitigate this, add Abort() method. Abort() simply frees LzmaStream structs. This will prevent any further opertaions WITHOUT ANY FLUSHING. Users must dispose XZStream right after calling Abort().
- Loading branch information
Showing
3 changed files
with
205 additions
and
19 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