diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-09-20 23:47:43 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2018-09-20 23:47:43 +0700 |
commit | aafad562a09077d87e5fc1de630b26a937618086 (patch) | |
tree | 0089d469f200c8195922622fb456c97bb565038b /crypto/src/util | |
parent | Code cleanup (from Java build) (diff) | |
download | BouncyCastle.NET-ed25519-aafad562a09077d87e5fc1de630b26a937618086.tar.xz |
Refactoring
Diffstat (limited to '')
-rw-r--r-- | crypto/src/util/Arrays.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/src/util/Arrays.cs b/crypto/src/util/Arrays.cs index df9b4e7ee..3df908240 100644 --- a/crypto/src/util/Arrays.cs +++ b/crypto/src/util/Arrays.cs @@ -8,6 +8,9 @@ namespace Org.BouncyCastle.Utilities /// <summary> General array utilities.</summary> public abstract class Arrays { + public static readonly byte[] EmptyBytes = new byte[0]; + public static readonly int[] EmptyInts = new int[0]; + public static bool AreEqual( bool[] a, bool[] b) |