mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[Symbian Installation File] Implement GetCompressedSize().
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user