Skip to content

Commit

Permalink
Merge pull request adamhathcock#799 from Erior/feature/DataDescriptor…
Browse files Browse the repository at this point in the history
…Stream-fix-report-size-position

Fix reporting size / position
  • Loading branch information
adamhathcock authored Jan 8, 2024
2 parents 284fa24 + f7c6edf commit 396717e
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 @@ public override void Flush() { }

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

Expand Down

0 comments on commit 396717e

Please sign in to comment.