mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-13 13:35:28 +00:00
[PR #1005] [MERGED] Refactor SqueezeStream for CLS Compliance, Streaming, and Generic Test Coverage #1424
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/adamhathcock/sharpcompress/pull/1005
Author: @TwanVanDongen
Created: 11/2/2025
Status: ✅ Merged
Merged: 11/4/2025
Merged by: @adamhathcock
Base:
master← Head:master📝 Commits (6)
84cd772Refactors the SqueezeStream class to ensure full CLS compliance and proper stream behavior. It replaces the previous one-shot decoding logic with a true streaming implementation by piping Huffman-decoded output into the existing RunLength90Stream, enabling real-time decompression.dd606a0CSharpier...Refactors the SqueezeStream class to ensure full CLS compliance and proper stream behavior. It replaces the previous one-shot decoding logic with a true streaming implementation by piping Huffman-decoded output into the existing RunLength90Stream, enabling real-time decompression.130ac83Revert "CSharpier...Refactors the SqueezeStream class to ensure full CLS compliance and proper stream behavior. It replaces the previous one-shot decoding logic with a true streaming implementation by piping Huffman-decoded output into the existing RunLength90Stream, enabling real-time decompression."2ef1215Merge branch 'master' of https://github.com/TwanVanDongen/sharpcompress3a71a2bRan CSharpier.59c1f02Still difficult to run CSharpier...📊 Changes
4 files changed (+124 additions, -115 deletions)
View changed files
📝
src/SharpCompress/Compressors/RLE90/RunLength90Stream.cs(+87 -32)📝
src/SharpCompress/Compressors/Squeezed/SqueezedStream.cs(+34 -53)📝
src/SharpCompress/Readers/Arc/ArcReader.cs(+1 -1)📝
tests/SharpCompress.Test/Arc/ArcReaderTests.cs(+2 -29)📄 Description
refactors the SqueezeStream class to improve compatibility, performance, and testability. It introduces CLS compliance, stream-based decoding, and replaces custom test methods with generic test logic for maintainability.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.