Skip to content

Byte数组转BigInteger

tanyuan edited this page Sep 19, 2017 · 2 revisions

using Neo.SmartContract.Framework;
using Neo.SmartContract.Framework.Services.Neo;
using System.Numerics;

public class HelloWorld : SmartContract
{
    public static BigInteger Main()
    {
        return Storage.Get(Storage.CurrentContext, "Hello").AsBigInteger();
    }
}
Clone this wiki locally