[PR #1019] [MERGED] ARJ's methods 1, 2 and 3 implemented for streaming #1441

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/1019
Author: @TwanVanDongen
Created: 11/14/2025
Status: Merged
Merged: 11/18/2025
Merged by: @adamhathcock

Base: masterHead: master


📝 Commits (6)

  • 4efb109 Arj's methods CompressedMost (1), Compressed (2) and CompressedFaster (3) implemented.
  • dd9dc25 Merge branch 'adamhathcock:master' into master
  • d7d0bc6 Missed formatting FilePart.
  • f2c54b1 Merge branch 'master' of https://github.com/TwanVanDongen/sharpcompress
  • 4cfa5b0 Included ARC and ARJ in readme
  • e0186ea Add buffer boundary tests for streaming decompression. Methods 1,2,3 still need fixing full streaming; exception now thrown to prevent corrupt output

📊 Changes

21 files changed (+10898 additions, -30 deletions)

View changed files

📝 README.md (+1 -1)
📝 src/SharpCompress/Common/Arj/ArjFilePart.cs (+16 -0)
📝 src/SharpCompress/Compressors/Arj/BitReader.cs (+41 -29)
src/SharpCompress/Compressors/Arj/HistoryIterator.cs (+43 -0)
src/SharpCompress/Compressors/Arj/HuffmanTree.cs (+218 -0)
src/SharpCompress/Compressors/Arj/ILhaDecoderConfig.cs (+9 -0)
src/SharpCompress/Compressors/Arj/IRingBuffer.cs (+17 -0)
src/SharpCompress/Compressors/Arj/Lh5DecoderCfg.cs (+9 -0)
src/SharpCompress/Compressors/Arj/Lh7DecoderCfg.cs (+9 -0)
src/SharpCompress/Compressors/Arj/LhaStream.cs (+363 -0)
src/SharpCompress/Compressors/Arj/RingBuffer.cs (+67 -0)
📝 tests/SharpCompress.Test/Arj/ArjReaderTests.cs (+46 -0)
tests/TestArchives/Archives/Arj.method1.arj (+0 -0)
tests/TestArchives/Archives/Arj.method1.largefile.arj (+0 -0)
tests/TestArchives/Archives/Arj.method2.arj (+0 -0)
tests/TestArchives/Archives/Arj.method2.largefile.arj (+0 -0)
tests/TestArchives/Archives/Arj.method3.arj (+0 -0)
tests/TestArchives/Archives/Arj.method3.largefile.arj (+0 -0)
tests/TestArchives/Archives/Arj.method4.largefile.arj (+0 -0)
tests/TestArchives/Archives/Arj.store.largefile.arj (+0 -0)

...and 1 more files

📄 Description

Addition of CompressedMost, Compressed and CompressFastest algorithms.


🔄 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/1019 **Author:** [@TwanVanDongen](https://github.com/TwanVanDongen) **Created:** 11/14/2025 **Status:** ✅ Merged **Merged:** 11/18/2025 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (6) - [`4efb109`](https://github.com/adamhathcock/sharpcompress/commit/4efb109da8cbec269d48522a5439f8dbc96542ff) Arj's methods CompressedMost (1), Compressed (2) and CompressedFaster (3) implemented. - [`dd9dc25`](https://github.com/adamhathcock/sharpcompress/commit/dd9dc2500b37d2a0d51db50fe1419491bc2bf6f3) Merge branch 'adamhathcock:master' into master - [`d7d0bc6`](https://github.com/adamhathcock/sharpcompress/commit/d7d0bc658299f90dd568bc8364d6997eab9fae29) Missed formatting FilePart. - [`f2c54b1`](https://github.com/adamhathcock/sharpcompress/commit/f2c54b1f8bda2b9dd5ea7d846f983946b8c02de5) Merge branch 'master' of https://github.com/TwanVanDongen/sharpcompress - [`4cfa5b0`](https://github.com/adamhathcock/sharpcompress/commit/4cfa5b04afad91a2c781d14c702c0145c9b56449) Included ARC and ARJ in readme - [`e0186ea`](https://github.com/adamhathcock/sharpcompress/commit/e0186eadc0d553c431643244617475e9603685f6) Add buffer boundary tests for streaming decompression. Methods 1,2,3 still need fixing full streaming; exception now thrown to prevent corrupt output ### 📊 Changes **21 files changed** (+10898 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `src/SharpCompress/Common/Arj/ArjFilePart.cs` (+16 -0) 📝 `src/SharpCompress/Compressors/Arj/BitReader.cs` (+41 -29) ➕ `src/SharpCompress/Compressors/Arj/HistoryIterator.cs` (+43 -0) ➕ `src/SharpCompress/Compressors/Arj/HuffmanTree.cs` (+218 -0) ➕ `src/SharpCompress/Compressors/Arj/ILhaDecoderConfig.cs` (+9 -0) ➕ `src/SharpCompress/Compressors/Arj/IRingBuffer.cs` (+17 -0) ➕ `src/SharpCompress/Compressors/Arj/Lh5DecoderCfg.cs` (+9 -0) ➕ `src/SharpCompress/Compressors/Arj/Lh7DecoderCfg.cs` (+9 -0) ➕ `src/SharpCompress/Compressors/Arj/LhaStream.cs` (+363 -0) ➕ `src/SharpCompress/Compressors/Arj/RingBuffer.cs` (+67 -0) 📝 `tests/SharpCompress.Test/Arj/ArjReaderTests.cs` (+46 -0) ➕ `tests/TestArchives/Archives/Arj.method1.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.method1.largefile.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.method2.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.method2.largefile.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.method3.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.method3.largefile.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.method4.largefile.arj` (+0 -0) ➕ `tests/TestArchives/Archives/Arj.store.largefile.arj` (+0 -0) _...and 1 more files_ </details> ### 📄 Description Addition of CompressedMost, Compressed and CompressFastest algorithms. --- <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:35 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1441