public B123ArchiveFileInfo(Stream fileData, string filePath, IKompressionConfiguration configuration, long decompressedSize, B123FileEntry entry) : base(fileData, filePath, configuration, decompressedSize) { Entry = entry; }
private ArchiveFileInfo CreateAfi(Stream input, string filePath, B123FileEntry entry) { input.Position = 0; using var br = new BinaryReaderX(input, true); if (br.ReadString(4) == "SSZL") { br.BaseStream.Position = 0xC; var decompressedSize = br.ReadInt32(); return(new B123ArchiveFileInfo(input, filePath, Compressions.Level5.Inazuma3Lzss, decompressedSize, entry) { PluginIds = B123Support.RetrievePluginMapping(input, filePath) }); } return(new B123ArchiveFileInfo(input, filePath, entry) { PluginIds = B123Support.RetrievePluginMapping(input, filePath) }); }
public B123ArchiveFileInfo(Stream fileData, string filePath, B123FileEntry entry) : base(fileData, filePath) { Entry = entry; }