using System;
using SharpCompress.Common;
namespace SharpCompress.Readers;
public class ReaderOptions : OptionsBase
{
public const int DefaultBufferSize = 0x10000;
///
/// Look for RarArchive (Check for self-extracting archives or cases where RarArchive isn't at the start of the file)
///
public bool LookForHeader { get; set; }
public string? Password { get; set; }
public bool DisableCheckIncomplete { get; set; }
public int BufferSize { get; set; } = DefaultBufferSize;
///
/// Provide a hint for the extension of the archive being read, can speed up finding the correct decoder. Should be without the leading period in the form like: tar.gz or zip
///
public string? ExtensionHint { get; set; }
///
/// An optional progress reporter for tracking extraction operations.
/// When set, progress updates will be reported as entries are extracted.
///
public IProgress? Progress { get; set; }
}