public uint160()
{
+ base.nWidth = nWidth;
pn = new uint[nWidth];
for (int i = 0; i < nWidth; i++)
public uint160(uint160 b)
{
+ base.nWidth = nWidth;
pn = new uint[nWidth];
for (int i = 0; i < nWidth; i++)
public uint160(ulong n)
{
+ base.nWidth = nWidth;
pn = new uint[nWidth];
pn[0] = (uint)n;
{
Contract.Requires<ArgumentException>(bytes.Length == 20, "Incorrect array length");
+ base.nWidth = nWidth;
pn = Interop.ToUInt32Array(bytes);
}
{
Contract.Requires<ArgumentException>(hex.Length == 40, "Incorrect string");
+ base.nWidth = nWidth;
var bytes = Interop.ReverseBytes(Interop.HexToArray(hex));
pn = Interop.ToUInt32Array(bytes);
}