using System.IO;
namespace BinaryObjectScanner.Interfaces
{
///
/// Mark a file type as being able to be extracted
///
public interface IExtractable
{
///
/// Extract a file to a temporary path, if possible
///
/// 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);
///
/// Extract a stream to a temporary path, if possible
///
/// 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);
}
}