Seek, if possible

This commit is contained in:
Matt Nadareski
2025-10-27 22:43:56 -04:00
parent 15109bed88
commit ce394eb4e9
60 changed files with 271 additions and 257 deletions

View File

@@ -124,7 +124,7 @@ namespace ExtractionTool.Features
try
{
int read = stream.Read(magic, 0, 16);
stream.Seek(0, SeekOrigin.Begin);
stream.SeekIfPossible(0, SeekOrigin.Begin);
}
catch (Exception ex)
{