Option to not dispose of stream in HashTool #2

Closed
opened 2026-01-29 22:42:45 +00:00 by claunia · 1 comment
Owner

Originally created by @Deterous on GitHub (Mar 5, 2024).

HashTool.GetStreamHash disposes of the stream after it is done.
In order to use SabreTools.Hashing, I would need it to optionally leave it open after hashing.

Originally created by @Deterous on GitHub (Mar 5, 2024). `HashTool.GetStreamHash` disposes of the stream after it is done. In order to use SabreTools.Hashing, I would need it to optionally leave it open after hashing.
Author
Owner

@Deterous commented on GitHub (Mar 5, 2024):

I recommend a , bool leaveOpen) like how BinaryWriter etc do it

@Deterous commented on GitHub (Mar 5, 2024): I recommend a `, bool leaveOpen)` like how BinaryWriter etc do it
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SabreTools/SabreTools.Hashing#2