using System.IO; namespace BinaryObjectScanner.Interfaces { /// /// Mark a file type as being able to be extracted /// /// TODO: Add debug flag to both of the declarations public interface IExtractable { /// /// Scan a file for all internal protections /// /// Path to the input file /// True to include debug data, false otherwise /// Path to extracted files, null on error /// Ideally, this should just point to the other extract implementation. string Extract(string file, bool includeDebug); /// /// Scan a stream for all internal protections /// /// Stream representing the input file /// Path to the input file /// True to include debug data, false otherwise /// Path to extracted files, null on error string Extract(Stream stream, string file, bool includeDebug); } }