We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d52facd + 010a38b commit d11f6aeCopy full SHA for d11f6ae
1 file changed
src/SharpCompress/Readers/ReaderOptions.cs
@@ -5,6 +5,16 @@ namespace SharpCompress.Readers;
5
6
public class ReaderOptions : OptionsBase
7
{
8
+ /// <summary>
9
+ /// The default buffer size for stream operations.
10
+ /// This value (65536 bytes) is preserved for backward compatibility.
11
+ /// New code should use Constants.BufferSize instead (81920 bytes), which matches .NET's Stream.CopyTo default.
12
+ /// </summary>
13
+ [Obsolete(
14
+ "Use Constants.BufferSize instead. This constant will be removed in a future version."
15
+ )]
16
+ public const int DefaultBufferSize = 0x10000;
17
+
18
/// <summary>
19
/// Look for RarArchive (Check for self-extracting archives or cases where RarArchive isn't at the start of the file)
20
/// </summary>
0 commit comments