[PR #583] Added Seeking feature for BufferedSubStream and ReadOnlySubStream. #1116

Open
opened 2026-01-29 22:19:04 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/583
Author: @vovgou
Created: 3/30/2021
Status: 🔄 Open

Base: masterHead: patch


📝 Commits (7)

  • d9b047d Added Seeking feature for BufferedSubStream and ReadOnlySubStream.
  • 9bde683 Fixed the error CS8618 for BufferedSubStream.cs
  • 2bfd4e6 Added #nullable disable,fixed the error CS8618 for BufferedSubStream.cs
  • 40928d2 Fixed a bug
  • 5333869 Fixed a bug
  • a526814 Avoid calling unsupported methods
  • aeb7052 Fixed a bug

📊 Changes

2 files changed (+358 additions, -68 deletions)

View changed files

📝 src/SharpCompress/IO/BufferedSubStream.cs (+208 -36)
📝 src/SharpCompress/IO/ReadOnlySubStream.cs (+150 -32)

📄 Description

Added the seeking feature for BufferedSubStream and ReadOnlySubStream. When the compression type of an entry is Store (uncompressed) in the Zip or APK file, a seekable stream will be obtained by entry.OpenEntryStream(). In game development on the Android platform, it avoids having to decompress files to disk due to a seekable stream being required.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/adamhathcock/sharpcompress/pull/583 **Author:** [@vovgou](https://github.com/vovgou) **Created:** 3/30/2021 **Status:** 🔄 Open **Base:** `master` ← **Head:** `patch` --- ### 📝 Commits (7) - [`d9b047d`](https://github.com/adamhathcock/sharpcompress/commit/d9b047d6b0e23052b5ffceca9640265519d1a565) Added Seeking feature for BufferedSubStream and ReadOnlySubStream. - [`9bde683`](https://github.com/adamhathcock/sharpcompress/commit/9bde683622e20bb04ff8b110ddbe19bf2e575c0d) Fixed the error CS8618 for BufferedSubStream.cs - [`2bfd4e6`](https://github.com/adamhathcock/sharpcompress/commit/2bfd4e6d4c8880ff3eca9526ef751bf948222895) Added #nullable disable,fixed the error CS8618 for BufferedSubStream.cs - [`40928d2`](https://github.com/adamhathcock/sharpcompress/commit/40928d2fadffe8237b9a44c2b7a4fa928aae6664) Fixed a bug - [`5333869`](https://github.com/adamhathcock/sharpcompress/commit/5333869dd4beda3c315ec2558275f3190fa8ef1e) Fixed a bug - [`a526814`](https://github.com/adamhathcock/sharpcompress/commit/a526814ac998eda27ebfc25d7bbea022f6649793) Avoid calling unsupported methods - [`aeb7052`](https://github.com/adamhathcock/sharpcompress/commit/aeb705244189ed17099b5fd969b86de47819853a) Fixed a bug ### 📊 Changes **2 files changed** (+358 additions, -68 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/IO/BufferedSubStream.cs` (+208 -36) 📝 `src/SharpCompress/IO/ReadOnlySubStream.cs` (+150 -32) </details> ### 📄 Description Added the seeking feature for BufferedSubStream and ReadOnlySubStream. When the compression type of an entry is Store (uncompressed) in the Zip or APK file, a seekable stream will be obtained by entry.OpenEntryStream(). In game development on the Android platform, it avoids having to decompress files to disk due to a seekable stream being required. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 22:19:04 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1116