diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-14 15:29:57 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2019-05-14 15:29:57 +0700 |
commit | a94b4d6ecffc5cc6ce42caa480a9c6910152bc6e (patch) | |
tree | e90446150fe99864543828f7f213e861ce35b15f /crypto/src/util/zlib/ZInputStream.cs | |
parent | Refactor to not need pending_buf_size (diff) | |
download | BouncyCastle.NET-ed25519-a94b4d6ecffc5cc6ce42caa480a9c6910152bc6e.tar.xz |
Increase zlib default buffer size
Diffstat (limited to 'crypto/src/util/zlib/ZInputStream.cs')
-rw-r--r-- | crypto/src/util/zlib/ZInputStream.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/util/zlib/ZInputStream.cs b/crypto/src/util/zlib/ZInputStream.cs index 434fe95c8..ea803fa4f 100644 --- a/crypto/src/util/zlib/ZInputStream.cs +++ b/crypto/src/util/zlib/ZInputStream.cs @@ -49,7 +49,7 @@ namespace Org.BouncyCastle.Utilities.Zlib return z; } - private const int BufferSize = 512; + private const int BufferSize = 4096; protected ZStream z; protected int flushLevel = JZlib.Z_NO_FLUSH; |