Skip to content

make zip package file streams seekable - #1283

Merged
clairernovotny merged 1 commit into
NuGetPackageExplorer:mainfrom
campersau:seekablezipstream
May 26, 2021
Merged

clairernovotny merged 1 commit into
NuGetPackageExplorer:mainfrom
campersau:seekablezipstream

Conversation

@campersau

Copy link
Copy Markdown
Collaborator

It might be a bit of an overkill to make all zip streams seekable. An alternativ would be to create a Stream wrapper which only copies to a MemoryStream when Length or Position gets accessed and the inner Stream is not seekable.

fixes #1282

@clairernovotny
clairernovotny merged commit 58ae3f9 into NuGetPackageExplorer:main May 26, 2021
@campersau
campersau deleted the seekablezipstream branch May 26, 2021 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

<Readme> node cause "This operation is not supported." exception

2 participants