Add File Type and Detectors and Mime Type tools and Refactor Grouping ...

This commit is contained in:
2026-10-23 00:14:00 +03:30
parent caeb6ae7f3
commit 6f6ba825d6
14 changed files with 1427 additions and 8 deletions
@@ -0,0 +1,18 @@
namespace xCommons.Configurations
{
/// <summary>
/// Configuration options for XFileTypeDetector ...
/// </summary>
public sealed class XFileTypeDetectorConfiguration
{
/// <summary>
/// When true, magic bytes are always read first ...
/// </summary>
public bool PreferMagicBytes { get; set; } = true;
/// <summary>
/// Number of bytes read from the stream header ...
/// </summary>
public int HeaderSize { get; set; } = 32;
}
}