Adam Hathcock
e96366f489
Entry can be null and remove other ! usages
2024-04-18 13:24:03 +01:00
Adam Hathcock
95975a4c33
even more clean up
2024-03-14 09:07:21 +00:00
Adam Hathcock
198a0673a2
more clean up
2024-03-14 09:00:44 +00:00
Adam Hathcock
2715ae645d
use var
2024-03-14 08:38:12 +00:00
Adam Hathcock
396717efd1
Merge pull request #799 from Erior/feature/DataDescriptorStream-fix-report-size-position
...
Fix reporting size / position
2024-01-08 09:18:34 +00:00
Lars Vahlenberg
4477833b1d
Issue 771, remove throw on flush for readonly streams
2024-01-06 00:14:34 +01:00
Lars Vahlenberg
f7c6edf849
Fix reporting size / position
2024-01-04 23:33:39 +01:00
Adam Hathcock
fa2a52ff41
add caching and some cleanup
2023-03-21 13:41:36 +00:00
Adam Hathcock
16e8dd447b
update csharpier
2023-03-21 13:14:08 +00:00
Lars Vahlenberg
f60728b537
ReadOnlySubStream span position bug
2023-03-01 20:17:43 +01:00
Lars Vahlenberg
9e6f9d50ef
Sync with master
2023-03-01 20:13:13 +01:00
Lars Vahlenberg
606923b374
Implement Searching Data Descriptor stream for supporting UncompressedZipExtractAll
2023-02-19 01:33:22 +01:00
Nanook
48a341b79c
Split archive handling fix. XZ stream decoding bug fix (in X64Convert filter). XZ stream support added to zip/zipx.
2023-02-02 00:18:37 +00:00
Adam Hathcock
b01e97b168
more clean up
2022-12-20 15:20:49 +00:00
Adam Hathcock
7da10795a1
csharpier
2022-12-20 15:14:22 +00:00
Adam Hathcock
959bbdcf1b
big clean up
2022-12-20 15:06:44 +00:00
Adam Hathcock
970e31a1b1
cleanup and run csharpier
2022-12-20 13:45:47 +00:00
Adam Hathcock
d6ac9a0363
Fix build
2022-12-20 13:09:16 +00:00
Lars Vahlenberg
0ae75634b1
SourceStream Position counting bug fix
2022-07-30 16:28:43 +02:00
Adam Hathcock
8cb566b031
Merge branch 'master' into feature/#636
2022-06-22 09:05:57 +01:00
Lars Vahlenberg
089b16326e
ReadOnlySubStream overrides and adds logic to Read byte[], needs to have same logic for Span<byte> for consistency.
2022-06-21 19:30:07 +02:00
Adam Hathcock
62c94a178c
Merge branch 'master' into Task_477
2022-06-20 10:26:45 +01:00
Martin Demberger
35336a0827
Suppress nested NonDisposingStream
2022-06-19 22:05:52 +02:00
Martin Demberger
8b55cce39a
Better handling of uncompressed zip files.
2022-06-15 16:28:14 +02:00
Craig
61c01ce9b0
Properly integrated zip multivolume and split support.
2022-04-30 19:35:40 +01:00
Craig
224614312f
Added multipart Zip support (z01...). Added IEntry.IsSolid and implemented Rar and 7Zi[ support.
2022-04-25 01:16:53 +01:00
Craig
ec1999f73d
Added Split archive support with unit tests. Added ArchiveFactory.IsArchive() and minor refactor.
2022-04-21 00:12:26 +01:00
Jeff Tyson
1561bba538
Add net462 target to clean up issues with system.* nuget dependencies
2021-09-29 21:55:11 +00:00
Adam Hathcock
0f06c3d934
Fix rewindable stream to expose length
2021-01-13 14:40:36 +00:00
Adam Hathcock
5357bd07c7
Let dotnet format do it’s thing
2021-01-09 13:33:34 +00:00
Jason Nelson
d8804ae108
Improve conditional logic to prepare to add .NETCOREAPP target
2020-11-18 09:19:21 -08:00
Jason Nelson
ee3162ad71
Fix return
2020-07-30 17:49:29 -07:00
Jason Nelson
4357165163
Add Read/Write overrides to NonDisposingStream
2020-07-30 17:36:03 -07:00
Adam Hathcock
400d2c1774
Fix usings and add braces for better merging
2020-04-03 08:47:30 +01:00
Bond_009
80b0671844
Reduce the amount of allocations
...
* Directly fill an array instead of filling a List and copying that to
an array
* Use own buffer when writing bytes to a stream
* Remove DataConverter class, replaced by BinaryPrimitives
2019-12-30 18:58:25 +01:00
Adam Hathcock
9540b01bcc
NET Standard 1.3 and 2.0 only ( #482 )
...
* Remove NET35, NET45 and NET Standard 1.0
* Update README and memset
* Remove NETCORE build flag
* NET 46 too?
* Update packages and usage
2019-10-10 09:24:41 +01:00
Matt Kotsenas
6d1d62fd32
Delete AppendingStream
...
`AppendingStream` is unused, so rather than refactor it, just delete it.
2018-07-11 16:21:19 -07:00
Matt Kotsenas
ee4ae661d7
Refactor ListeningStream
...
Refactor `ListeningStream`:
- Override of `WriteByte` was redundant and removed
- Make `Dispose` delegate to base class
2018-07-11 16:21:19 -07:00
Matt Kotsenas
cab1ce3d0c
Update sub-streams to uniformly inherit from NonDisposingStream
...
Update the sub-stream classes to all inherit from `NonDisposingStream`.
This allows them to correctly implement the `Dispose` pattern, and delegate
the actual disposal to `NonDisposingStream`.
In doing so, we need to remove some redundant overrides from
`NonDisposingStream`, otherwise `BufferedSubStream` would use the
overrides inherited from `NonDisposingStream` instead of the ones
inherited from `Stream` (i.e. delegate `ReadByte` to `Read`).
2018-07-11 16:17:49 -07:00
Matt Kotsenas
6c2e5e1164
Cleanup NonDisposingStream for reuse
...
- Remove the duplicate `GC.SuppressFinalization` call
(called in `System.IO.Stream)
- Improve the `ThrowOnDispose` error message
2018-07-11 12:19:34 -07:00
Julien Lebosquain
540618c062
Implemented ReadByte/WriteByte on streams to improve performance
2018-05-27 16:31:44 +02:00
Adam Hathcock
3f94c1a50d
Remove lingering uses of non disposing stream
2018-05-08 14:10:49 +01:00
Adam Hathcock
33f7258ea2
Merge branch 'master' into leaveOpen
...
# Conflicts:
# src/SharpCompress/Common/Rar/Headers/RarHeaderFactory.cs
# src/SharpCompress/Readers/Rar/RarReader.cs
2018-04-29 14:47:08 +01:00
Adam Hathcock
89ae8ca526
Rejigger read only substream
2018-04-22 11:32:47 +01:00
Adam Hathcock
f18e5b75bb
Archives set up correctly
2018-04-22 10:06:30 +01:00
Adam Hathcock
e919c99b14
First pass of removing explicit leaveOpen on streams.
2018-04-22 10:02:18 +01:00
coderb
5f121c5da4
rar5 wip
2017-12-17 07:39:02 -05:00
coderb
72f52359e6
rar5: wip
2017-12-17 01:58:40 -05:00
coderb
9f549b98da
rar5: support ArchiveHeader, additional rar5 header implementation
2017-12-16 20:39:53 -05:00
coderb
c346a4ca94
rar5: change rar MarkHeader detection logic to support rar5
2017-12-16 17:35:07 -05:00