mirror of
https://github.com/SabreTools/SabreTools.Hashing.git
synced 2026-02-12 21:32:13 +00:00
Option to not dispose of stream in HashTool #2
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Deterous on GitHub (Mar 5, 2024).
HashTool.GetStreamHashdisposes of the stream after it is done.In order to use SabreTools.Hashing, I would need it to optionally leave it open after hashing.
@Deterous commented on GitHub (Mar 5, 2024):
I recommend a
, bool leaveOpen)like how BinaryWriter etc do it