Class UInt
Assembly: Algorand.dll
Syntax
public class UInt : WireType, IEquatable<UInt>
Constructors
|
Edit this page
View Source
UInt(object)
Create UInt instance with value
Declaration
public UInt(object value)
Parameters
| Type |
Name |
Description |
| object |
value |
|
|
Edit this page
View Source
UInt(uint)
Declaration
public UInt(uint bitwidth)
Parameters
| Type |
Name |
Description |
| uint |
bitwidth |
|
Properties
|
Edit this page
View Source
BitWidth
Declaration
public uint BitWidth { get; }
Property Value
|
Edit this page
View Source
IsDynamic
Declaration
public override bool IsDynamic { get; }
Property Value
Overrides
|
Edit this page
View Source
Value
Declaration
public BigInteger Value { get; set; }
Property Value
Methods
|
Edit this page
View Source
Decode(byte[])
Declaration
public override uint Decode(byte[] data)
Parameters
| Type |
Name |
Description |
| byte[] |
data |
|
Returns
Overrides
|
Edit this page
View Source
Encode()
Declaration
public override byte[] Encode()
Returns
Overrides
|
Edit this page
View Source
Equals(UInt?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(UInt? other)
Parameters
| Type |
Name |
Description |
| UInt |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
|
Edit this page
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
Overrides
|
Edit this page
View Source
From(object)
Create instance of the object from the value
Declaration
public override bool From(object instance)
Parameters
| Type |
Name |
Description |
| object |
instance |
C# variable
|
Returns
Overrides
|
Edit this page
View Source
GetDescription()
Declaration
public override string GetDescription()
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Overrides
|
Edit this page
View Source
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type |
Description |
| string |
A string that represents the current object.
|
Overrides
|
Edit this page
View Source
ToValue()
Converts WireType to c# value
Declaration
public override object ToValue()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(UInt, UInt)
Declaration
public static bool operator ==(UInt left, UInt right)
Parameters
| Type |
Name |
Description |
| UInt |
left |
|
| UInt |
right |
|
Returns
|
Edit this page
View Source
operator !=(UInt, UInt)
Declaration
public static bool operator !=(UInt left, UInt right)
Parameters
| Type |
Name |
Description |
| UInt |
left |
|
| UInt |
right |
|
Returns
Implements