Rationalize SourceStream vs Volumes #730

Open
opened 2026-01-29 22:16:31 +00:00 by claunia · 1 comment
Owner

Originally created by @adamhathcock on GitHub (Nov 27, 2025).

Originally assigned to: @Copilot on GitHub.

SourceStream now handles multiple files and streams while the intention of Volume was to represent that.

Having both abstractions seems wrong yet both are providing value.

Originally created by @adamhathcock on GitHub (Nov 27, 2025). Originally assigned to: @Copilot on GitHub. SourceStream now handles multiple files and streams while the intention of Volume was to represent that. Having both abstractions seems wrong yet both are providing value.
claunia added the enhancement label 2026-01-29 22:16:31 +00:00
Author
Owner

@adamhathcock commented on GitHub (Nov 27, 2025):

I probably need to create an abstraction that a stream of bytes isn't the same as a File/Stream.

7Zip can have a contiguous stream of bytes for a file or files.
Rar can have a contiguous stream of bytes for files (SOLID).
A stream of bytes can be across Files/Streams

@adamhathcock commented on GitHub (Nov 27, 2025): I probably need to create an abstraction that a stream of bytes isn't the same as a File/Stream. 7Zip can have a contiguous stream of bytes for a file or files. Rar can have a contiguous stream of bytes for files (SOLID). A stream of bytes can be across Files/Streams
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#730