Skip to content

Commit

Permalink
Fix reporting size / position
Browse files Browse the repository at this point in the history
  • Loading branch information
Erior committed Jan 4, 2024
1 parent 741712f commit f7c6edf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SharpCompress/IO/DataDescriptorStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected override void Dispose(bool disposing)

public override long Position
{
get => _stream.Position;
get => _stream.Position - _start;
set => _stream.Position = value;
}

Expand Down

0 comments on commit f7c6edf

Please sign in to comment.