[PR #967] [MERGED] Reduce custom utilities for arrays/bytes #1386

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

📋 Pull Request Information

Original PR: https://github.com/adamhathcock/sharpcompress/pull/967
Author: @adamhathcock
Created: 10/22/2025
Status: Merged
Merged: 10/22/2025
Merged by: @adamhathcock

Base: masterHead: adam/reduce-custom-utilities


📝 Commits (10+)

  • e0d6cd9 Try to reduce custom functions for array/byte management
  • c823aca optimize ReadFully and Skip
  • 084fe72 Consolidate not null
  • d8797b6 remove do while
  • 62bee15 fmt
  • 249b8a9 add AI generated tests
  • 513cd4f some AI suggestions
  • 83917d4 Merge remote-tracking branch 'origin/master' into adam/reduce-custom-utilities
  • a1dfa3d xplat tests for path characters
  • 00df8e9 add windows only compile constant

📊 Changes

28 files changed (+894 additions, -246 deletions)

View changed files

📝 Directory.Packages.props (+0 -1)
📝 src/SharpCompress/Archives/ArchiveFactory.cs (+11 -11)
📝 src/SharpCompress/Archives/GZip/GZipArchive.cs (+5 -5)
📝 src/SharpCompress/Archives/IArchiveEntryExtensions.cs (+1 -1)
📝 src/SharpCompress/Archives/Rar/RarArchive.cs (+5 -5)
📝 src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs (+5 -5)
📝 src/SharpCompress/Archives/Tar/TarArchive.cs (+6 -6)
📝 src/SharpCompress/Archives/Zip/ZipArchive.cs (+5 -5)
📝 src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.unpack50_cpp.cs (+15 -3)
📝 src/SharpCompress/Factories/Factory.cs (+1 -1)
📝 src/SharpCompress/LazyReadOnlyCollection.cs (+1 -1)
📝 src/SharpCompress/NotNullExtensions.cs (+13 -4)
📝 src/SharpCompress/Readers/Arc/ArcReader.cs (+1 -1)
📝 src/SharpCompress/Readers/GZip/GZipReader.cs (+1 -1)
📝 src/SharpCompress/Readers/Rar/RarReader.cs (+3 -3)
📝 src/SharpCompress/Readers/ReaderFactory.cs (+2 -2)
📝 src/SharpCompress/Readers/Tar/TarReader.cs (+1 -1)
📝 src/SharpCompress/Readers/Zip/ZipReader.cs (+2 -2)
📝 src/SharpCompress/Utility.cs (+51 -147)
📝 src/SharpCompress/Writers/GZip/GZipWriter.cs (+1 -1)

...and 8 more files

📄 Description

Trust the framework


🔄 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/967 **Author:** [@adamhathcock](https://github.com/adamhathcock) **Created:** 10/22/2025 **Status:** ✅ Merged **Merged:** 10/22/2025 **Merged by:** [@adamhathcock](https://github.com/adamhathcock) **Base:** `master` ← **Head:** `adam/reduce-custom-utilities` --- ### 📝 Commits (10+) - [`e0d6cd9`](https://github.com/adamhathcock/sharpcompress/commit/e0d6cd9cb723d126968c0f9f1401fa6de3b0879c) Try to reduce custom functions for array/byte management - [`c823aca`](https://github.com/adamhathcock/sharpcompress/commit/c823acaa3f10527f70630762df69a5ec980b9ee2) optimize ReadFully and Skip - [`084fe72`](https://github.com/adamhathcock/sharpcompress/commit/084fe72b029fddbe034f194fb71325cd240da088) Consolidate not null - [`d8797b6`](https://github.com/adamhathcock/sharpcompress/commit/d8797b69e47dd2e294a74ea09ad57aa729cad1fd) remove do while - [`62bee15`](https://github.com/adamhathcock/sharpcompress/commit/62bee15f00a99efac044f3226e2421e24d6f8a9a) fmt - [`249b8a9`](https://github.com/adamhathcock/sharpcompress/commit/249b8a9cdd54e6f437059d971609f4a611f63958) add AI generated tests - [`513cd4f`](https://github.com/adamhathcock/sharpcompress/commit/513cd4f905ca854e2837d522dfdfd8d562689dc9) some AI suggestions - [`83917d4`](https://github.com/adamhathcock/sharpcompress/commit/83917d4f79f92f472869f4c3b88c902f8261648a) Merge remote-tracking branch 'origin/master' into adam/reduce-custom-utilities - [`a1dfa3d`](https://github.com/adamhathcock/sharpcompress/commit/a1dfa3dfa3ec5ec27fb7aba643f194da4b571586) xplat tests for path characters - [`00df8e9`](https://github.com/adamhathcock/sharpcompress/commit/00df8e930eabee4c6e0de0803678b17d97ee15c1) add windows only compile constant ### 📊 Changes **28 files changed** (+894 additions, -246 deletions) <details> <summary>View changed files</summary> 📝 `Directory.Packages.props` (+0 -1) 📝 `src/SharpCompress/Archives/ArchiveFactory.cs` (+11 -11) 📝 `src/SharpCompress/Archives/GZip/GZipArchive.cs` (+5 -5) 📝 `src/SharpCompress/Archives/IArchiveEntryExtensions.cs` (+1 -1) 📝 `src/SharpCompress/Archives/Rar/RarArchive.cs` (+5 -5) 📝 `src/SharpCompress/Archives/SevenZip/SevenZipArchive.cs` (+5 -5) 📝 `src/SharpCompress/Archives/Tar/TarArchive.cs` (+6 -6) 📝 `src/SharpCompress/Archives/Zip/ZipArchive.cs` (+5 -5) 📝 `src/SharpCompress/Compressors/Rar/UnpackV2017/Unpack.unpack50_cpp.cs` (+15 -3) 📝 `src/SharpCompress/Factories/Factory.cs` (+1 -1) 📝 `src/SharpCompress/LazyReadOnlyCollection.cs` (+1 -1) 📝 `src/SharpCompress/NotNullExtensions.cs` (+13 -4) 📝 `src/SharpCompress/Readers/Arc/ArcReader.cs` (+1 -1) 📝 `src/SharpCompress/Readers/GZip/GZipReader.cs` (+1 -1) 📝 `src/SharpCompress/Readers/Rar/RarReader.cs` (+3 -3) 📝 `src/SharpCompress/Readers/ReaderFactory.cs` (+2 -2) 📝 `src/SharpCompress/Readers/Tar/TarReader.cs` (+1 -1) 📝 `src/SharpCompress/Readers/Zip/ZipReader.cs` (+2 -2) 📝 `src/SharpCompress/Utility.cs` (+51 -147) 📝 `src/SharpCompress/Writers/GZip/GZipWriter.cs` (+1 -1) _...and 8 more files_ </details> ### 📄 Description Trust the framework --- <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:19 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#1386