using System;
using System.Collections.Generic;
using System.IO;
using SabreTools.Core;
namespace SabreTools.FileTypes
{
///
/// Represents a TorrentLRZip archive for reading and writing
///
/// TODO: Implement from source at https://github.com/lz4/lz4
public class LZ4Archive : BaseArchive
{
#region Constructors
///
/// Create a new LZ4Archive with no base file
///
public LZ4Archive()
: base()
{
this.Type = FileType.LZ4Archive;
}
///
/// Create a new LZ4Archive from the given file
///
/// Name of the file to use as an archive
/// True if hashes for this file should be calculated, false otherwise (default)
public LZ4Archive(string filename, bool getHashes = false)
: base(filename, getHashes)
{
this.Type = FileType.LZ4Archive;
}
#endregion
#region Extraction
///
public override bool CopyAll(string outDir)
{
throw new NotImplementedException();
}
///
public override string CopyToFile(string entryName, string outDir)
{
throw new NotImplementedException();
}
///
public override (MemoryStream, string) CopyToStream(string entryName)
{
throw new NotImplementedException();
}
#endregion
#region Information
///
public override List GetChildren()
{
throw new NotImplementedException();
}
///
public override List GetEmptyFolders()
{
throw new NotImplementedException();
}
///
public override bool IsTorrent()
{
throw new NotImplementedException();
}
#endregion
#region Writing
///
public override bool Write(string inputFile, string outDir, BaseFile rom)
{
throw new NotImplementedException();
}
///
public override bool Write(Stream inputStream, string outDir, BaseFile rom)
{
throw new NotImplementedException();
}
///
public override bool Write(List inputFiles, string outDir, List baseFiles)
{
throw new NotImplementedException();
}
#endregion
}
}