[Symbian Installation File] Implement GetCompressedSize().

This commit is contained in:
2023-10-07 17:58:09 +01:00
parent 199114e946
commit 50c3aaa07b
2 changed files with 12 additions and 3 deletions

View File

@@ -67,5 +67,17 @@ public sealed partial class Symbian
: x.destinationName.Equals(fileName, StringComparison.CurrentCulture));
}
/// <inheritdoc />
public long GetCompressedSize(int entryNumber)
{
if(!_opened)
return -1;
if(entryNumber < 0 || entryNumber >= _files.Count)
return -1;
return _files[entryNumber].length;
}
#endregion
}

View File

@@ -45,9 +45,6 @@ public sealed partial class Symbian
{
#region IArchive Members
/// <inheritdoc />
public long GetCompressedSize(int entryNumber) => throw new NotImplementedException();
/// <inheritdoc />
public long GetUncompressedSize(int entryNumber) => throw new NotImplementedException();