summaryrefslogtreecommitdiff
path: root/Source/Basetypes
diff options
context:
space:
mode:
authorGravatar MichalMoskal <unknown>2011-02-18 01:01:46 +0000
committerGravatar MichalMoskal <unknown>2011-02-18 01:01:46 +0000
commitff9f8978724c4e43238bd2a9fe19fed008b61ca6 (patch)
treeb03795b5383411160e8c8633757d97e7a033928e /Source/Basetypes
parent93abae9561c85aaebe799a19aebd5759cefba643 (diff)
Expose ToByteArray()
Diffstat (limited to 'Source/Basetypes')
-rw-r--r--Source/Basetypes/BigNum.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/Basetypes/BigNum.cs b/Source/Basetypes/BigNum.cs
index 31fcf482..73840482 100644
--- a/Source/Basetypes/BigNum.cs
+++ b/Source/Basetypes/BigNum.cs
@@ -89,6 +89,11 @@ namespace Microsoft.Basetypes {
}
}
+ public byte[] ToByteArray()
+ {
+ return this.val.ToByteArray();
+ }
+
internal BigNum(System.Numerics.BigInteger val) {
this.val = val;
}