diff options
author | MichalMoskal <unknown> | 2011-02-18 01:01:46 +0000 |
---|---|---|
committer | MichalMoskal <unknown> | 2011-02-18 01:01:46 +0000 |
commit | ff9f8978724c4e43238bd2a9fe19fed008b61ca6 (patch) | |
tree | b03795b5383411160e8c8633757d97e7a033928e /Source/Basetypes/BigNum.cs | |
parent | 93abae9561c85aaebe799a19aebd5759cefba643 (diff) |
Expose ToByteArray()
Diffstat (limited to 'Source/Basetypes/BigNum.cs')
-rw-r--r-- | Source/Basetypes/BigNum.cs | 5 |
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;
}
|