[PR #1096] [CLOSED] RAR async #1523

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/1096
Author: @adamhathcock
Created: 1/3/2026
Status: Closed

Base: masterHead: adam/rar-async-only


📝 Commits (7)

  • 955e1d8 add async testing
  • 0ed66ae add rar async only with failures
  • 676fb0b Initial plan
  • 98e509d Add async support for RAR header reading (work in progress)
  • f967dd0 Implement full async RAR header reading pipeline and fix SharpCompressStream
  • 6ef1dd5 Merge pull request #1097 from adamhathcock/copilot/sub-pr-1096
  • 39d986a async loading for rar is better

📊 Changes

27 files changed (+1230 additions, -56 deletions)

View changed files

📝 src/SharpCompress/Archives/Rar/RarArchive.cs (+19 -0)
📝 src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs (+25 -0)
📝 src/SharpCompress/Common/Rar/Headers/MarkHeader.cs (+128 -0)
📝 src/SharpCompress/Common/Rar/Headers/RarHeader.cs (+101 -8)
📝 src/SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs (+193 -0)
📝 src/SharpCompress/Common/Rar/RarCrcBinaryReader.cs (+25 -0)
📝 src/SharpCompress/Common/Rar/RarCryptoBinaryReader.cs (+47 -0)
📝 src/SharpCompress/Common/Rar/RarVolume.cs (+60 -0)
📝 src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs (+193 -0)
📝 src/SharpCompress/Factories/RarFactory.cs (+8 -0)
📝 src/SharpCompress/IO/MarkingBinaryReader.cs (+166 -0)
📝 src/SharpCompress/IO/SharpCompressStream.cs (+1 -2)
📝 src/SharpCompress/Readers/AbstractReader.cs (+37 -2)
📝 src/SharpCompress/Readers/Arc/ArcReader.cs (+16 -0)
📝 src/SharpCompress/Readers/Arj/ArjReader.cs (+42 -0)
📝 src/SharpCompress/Readers/Arj/MultiVolumeArjReader.cs (+1 -0)
📝 src/SharpCompress/Readers/Arj/SingleVolumeArjReader.cs (+18 -18)
📝 src/SharpCompress/Readers/GZip/GZipReader.cs (+14 -0)
📝 src/SharpCompress/Readers/Rar/RarReader.cs (+16 -0)
📝 src/SharpCompress/Readers/Rar/RarReaderVolume.cs (+5 -0)

...and 7 more files

📄 Description

This should make tests for asynchronous overloads use the AsyncOnlyStream for RAR and force all RAR paths to use asynchronous methods to read from streams


🔄 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/1096 **Author:** [@adamhathcock](https://github.com/adamhathcock) **Created:** 1/3/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `adam/rar-async-only` --- ### 📝 Commits (7) - [`955e1d8`](https://github.com/adamhathcock/sharpcompress/commit/955e1d8742d272280af44b2bc5066a7d2d12337e) add async testing - [`0ed66ae`](https://github.com/adamhathcock/sharpcompress/commit/0ed66ae6d06357746456397f04463a2570850c76) add rar async only with failures - [`676fb0b`](https://github.com/adamhathcock/sharpcompress/commit/676fb0ba520c18eb474ad4a92fbeaf882ec9052c) Initial plan - [`98e509d`](https://github.com/adamhathcock/sharpcompress/commit/98e509df46a1b0249dff92626fcb9616e48ece4c) Add async support for RAR header reading (work in progress) - [`f967dd0`](https://github.com/adamhathcock/sharpcompress/commit/f967dd0d3df77c00bdee225bc8cd00e98fa094a5) Implement full async RAR header reading pipeline and fix SharpCompressStream - [`6ef1dd5`](https://github.com/adamhathcock/sharpcompress/commit/6ef1dd590f5c47fdc204a166594e8f59ae13f8c9) Merge pull request #1097 from adamhathcock/copilot/sub-pr-1096 - [`39d986a`](https://github.com/adamhathcock/sharpcompress/commit/39d986a62ce434a6db80b85157f0aabde0bf29d0) async loading for rar is better ### 📊 Changes **27 files changed** (+1230 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `src/SharpCompress/Archives/Rar/RarArchive.cs` (+19 -0) 📝 `src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs` (+25 -0) 📝 `src/SharpCompress/Common/Rar/Headers/MarkHeader.cs` (+128 -0) 📝 `src/SharpCompress/Common/Rar/Headers/RarHeader.cs` (+101 -8) 📝 `src/SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs` (+193 -0) 📝 `src/SharpCompress/Common/Rar/RarCrcBinaryReader.cs` (+25 -0) 📝 `src/SharpCompress/Common/Rar/RarCryptoBinaryReader.cs` (+47 -0) 📝 `src/SharpCompress/Common/Rar/RarVolume.cs` (+60 -0) 📝 `src/SharpCompress/Common/Zip/StreamingZipHeaderFactory.cs` (+193 -0) 📝 `src/SharpCompress/Factories/RarFactory.cs` (+8 -0) 📝 `src/SharpCompress/IO/MarkingBinaryReader.cs` (+166 -0) 📝 `src/SharpCompress/IO/SharpCompressStream.cs` (+1 -2) 📝 `src/SharpCompress/Readers/AbstractReader.cs` (+37 -2) 📝 `src/SharpCompress/Readers/Arc/ArcReader.cs` (+16 -0) 📝 `src/SharpCompress/Readers/Arj/ArjReader.cs` (+42 -0) 📝 `src/SharpCompress/Readers/Arj/MultiVolumeArjReader.cs` (+1 -0) 📝 `src/SharpCompress/Readers/Arj/SingleVolumeArjReader.cs` (+18 -18) 📝 `src/SharpCompress/Readers/GZip/GZipReader.cs` (+14 -0) 📝 `src/SharpCompress/Readers/Rar/RarReader.cs` (+16 -0) 📝 `src/SharpCompress/Readers/Rar/RarReaderVolume.cs` (+5 -0) _...and 7 more files_ </details> ### 📄 Description This should make tests for asynchronous overloads use the `AsyncOnlyStream` for RAR and force all RAR paths to use asynchronous methods to read from streams --- <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:20:57 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1523