summary refs log tree commit diff
path: root/crypto/src/util
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2018-09-20 23:47:43 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2018-09-20 23:47:43 +0700
commitaafad562a09077d87e5fc1de630b26a937618086 (patch)
tree0089d469f200c8195922622fb456c97bb565038b /crypto/src/util
parentCode cleanup (from Java build) (diff)
downloadBouncyCastle.NET-ed25519-aafad562a09077d87e5fc1de630b26a937618086.tar.xz
Refactoring
Diffstat (limited to '')
-rw-r--r--crypto/src/util/Arrays.cs3
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)