FileTypeChecker
FileTypeChecker copied to clipboard
Cross platform file type validator for .NET
If a file type magic sequence have an offset, it cannot be recognised because the offset is applied to the magic byte sequence as well; see for instance Mp4 and...
https://github.com/Sicos1977/MSGReader/blob/master/MsgReaderCore/Helpers/FileTypeSelector.cs
**Describe the bug** Since version 4.2.0 Zip file validation fails (false negative) **To Reproduce** Steps to reproduce the behavior - c# code: // filebyte bytes array starts with [80,75,3,4...] bool...