Adam Hathcock
513cd4f905
some AI suggestions
2025-10-22 10:16:45 +01:00
Adam Hathcock
249b8a9cdd
add AI generated tests
2025-10-22 09:28:07 +01:00
Adam Hathcock
62bee15f00
fmt
2025-10-22 09:19:30 +01:00
Adam Hathcock
d8797b69e4
remove do while
2025-10-22 09:19:09 +01:00
Adam Hathcock
084fe72b02
Consolidate not null
2025-10-22 09:17:13 +01:00
Adam Hathcock
c823acaa3f
optimize ReadFully and Skip
2025-10-22 09:10:16 +01:00
Adam Hathcock
e0d6cd9cb7
Try to reduce custom functions for array/byte management
2025-10-22 09:00:21 +01:00
majorro
7a1ad6688a
make helpers internal
2025-01-15 04:46:22 +03:00
YoshiRulz
e4920255f0
Replace ReadOnlyCollection with the one in the BCL
...
I changed the param type of the helper, but the stronger constraint
didn't seem to matter in practice
2024-12-19 22:11:16 +10:00
YoshiRulz
f8e8273d39
Move utility classes to new namespace
2024-12-19 22:11:16 +10:00
Dinesh Solanki
2d10df8b87
Fix #858 - Replaces invalid filename characters
...
Added a method to replace invalid characters in file names with underscores during file extraction. This prevents errors related to invalid file names.
2024-07-26 00:16:44 +05:30
Adam Hathcock
373637e6a7
more logic fixes
2024-04-11 09:05:45 +01:00
Adam Hathcock
cb223217c1
actually, transfer block is different than overall transfer
2024-04-10 16:12:01 +01:00
Adam Hathcock
eab97a3f8b
calculate remaining afterwards
2024-04-10 08:53:20 +01:00
Adam Hathcock
fdfaa8ab45
add max transfer size to tar
2024-04-09 15:35:15 +01:00
Adam Hathcock
2321d9dbee
fix patch
2024-04-09 08:56:15 +01:00
Adam Hathcock
bf74dd887a
Fix tar corruption when sizes mismatch
2024-04-09 08:19:23 +01:00
Adam Hathcock
198a0673a2
more clean up
2024-03-14 09:00:44 +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
Lars Vahlenberg
5706732c55
Naive implementation of searching of DataDescriptor, not compatible with big archives (>32bit), but handles test cases.
2022-07-28 23:03:06 +02:00
louis-michel
0f112d0685
BCJ executable filter (only for decoding), used by XZ.
2022-06-10 13:29:42 -04:00
Adam Hathcock
6950eebf9f
Dependency updates and start of enforcing some C# standards
2022-04-21 08:54:59 +01:00
Adam Hathcock
ec2be2869f
Fix whitespace from dotnet format
2021-10-02 15:29:03 +01:00
Adam Hathcock
c10bd840c5
ReadFully used by pkware encryption didn’t like spans
2021-04-25 09:25:51 +01:00
Bond_009
cd677440ce
Use stackallocs where possible/sensible
2021-02-12 20:20:15 +01:00
Jason Nelson
6bdf2365fc
Inline variable declarations
2020-07-30 16:45:38 -07:00
Jason Nelson
5b6a1c97e3
Enable nullable
2020-05-23 16:27:55 -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
Bond-009
6f387336c0
Use functions from System.Memory instead of selfmade ones ( #495 )
...
* Use functions from System.Memory instead of selfmade ones
* Update SharpCompress.Test.csproj
2019-12-30 15:19:46 +00: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
Bond_009
637223aa53
Use nameof for param names
2019-09-17 13:28:44 +02:00
Bond_009
4b54187b4c
Fix build
2019-09-11 21:33:57 +02:00
Bond_009
cfb1421367
Use System.Buffers Nuget package
2019-09-11 20:06:50 +02:00
Adam Hathcock
d9c178cbee
Fix all platform support
2018-04-29 11:33:49 +01:00
Adam Hathcock
f3daaeb200
Try to use both for Rarv5 support
2018-04-23 09:39:50 +01:00
Adam Hathcock
b39f389a67
Merge branch 'master' into rar5
2018-01-10 14:58:40 +00:00
diontools
2fd9fe96ad
Utility.Skip uses seek
2018-01-03 00:23:34 +09:00
coderb
b5cb9901b1
rar5: wip
2017-12-20 00:29:07 -05:00
coderb
f2d2d94d1b
rar5: unpack wip
2017-12-19 14:03:53 -05:00
coderb
b8a308012f
rar5: unpack work
2017-12-18 11:01:37 -05:00
coderb
122a732206
unrar5: pull in fast memset code
2017-12-18 10:18:17 -05:00
coderb
72f52359e6
rar5: wip
2017-12-17 01:58:40 -05:00
Adam Hathcock
57b9133a0f
Change namespace and visibility to avoid collisions ( #333 )
2017-12-16 09:05:21 +00:00
Adam Hathcock
5bdf01ee59
Absorb arraypool from CoreFX ( #331 )
2017-12-15 14:45:02 +00:00