/// <summary> /// Initializes an empty <see cref="SARC"/>. /// </summary> /// <param name="files">Files inside the <see cref="SARC"/>.</param> /// <param name="baseFolder">Root location of the archive</param> public SARC(IReadOnlyList <string> files, string baseFolder) { Header = new SARCHeader(); SFAT = new SFAT(baseFolder, files); SFNT = new SFNT(); Files = new byte[]?[SFAT.Entries.Count]; }
/// <summary> /// Initializes an empty <see cref="SARC"/>. /// </summary> /// <param name="files">Files inside the <see cref="SARC"/>.</param> /// <param name="baseFolder">Root location of the archive</param> public SARC(IReadOnlyList <string> files, string baseFolder) { Header = new SARCHeader(); SFAT = new SFAT(baseFolder, files); SFNT = new SFNT(); }