using System;
using System.IO;
using Aaru.CommonTypes.Interfaces;
namespace Aaru.Archives;
public sealed partial class Stfs : IArchive
{
byte _blockSeparation;
FileEntry[] _entries;
int _headerSize;
bool _isConsole;
Stream _stream;
#region IArchive Members
///
public string Name => "Secure Transacted File System (STFS)";
///
public Guid Id => new("6DDA6F47-B1B1-407E-892C-7DF0F46741A9");
///
public string Author => Authors.NataliaPortillo;
///
public bool Opened { get; private set; }
///
public ArchiveSupportedFeature ArchiveFeatures => ArchiveSupportedFeature.HasEntryTimestamp |
ArchiveSupportedFeature.SupportsFilenames |
ArchiveSupportedFeature.HasExplicitDirectories |
ArchiveSupportedFeature.SupportsSubdirectories;
///
public int NumberOfEntries => Opened ? _entries.Length : -1;
#endregion
}