Class Uint64
Derived UInt class for serializing/deserializing 64 bit UInt
Inheritance
object
Uint64
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Uint64 : Uint<ulong>, ISerializedType
Constructors
|
Edit this page
View Source
Uint64(byte)
create instance of this value
Declaration
public Uint64(byte value)
Parameters
| Type |
Name |
Description |
| byte |
value |
byte value
|
|
Edit this page
View Source
Uint64(ulong)
create instance of this value
Declaration
public Uint64(ulong value)
Parameters
| Type |
Name |
Description |
| ulong |
value |
ulong value
|
Methods
|
Edit this page
View Source
FromJson(JsonNode)
Deserialize Uint64 from JSON
Declaration
public static Uint64 FromJson(JsonNode token)
Parameters
| Type |
Name |
Description |
| JsonNode |
token |
json token - decimal digit-only strings, 0x-prefixed hex, or bare hex (fixtures / rippled may omit the prefix)
|
Returns
| Type |
Description |
| Uint64 |
Uint64 value
|
|
Edit this page
View Source
FromParser(BinaryParser, int?)
Construct a Uint64 from a BinaryParser
Declaration
public static Uint64 FromParser(BinaryParser parser, int? hint = null)
Parameters
| Type |
Name |
Description |
| BinaryParser |
parser |
A BinaryParser to read Uint64 from
|
| int? |
hint |
|
Returns
|
Edit this page
View Source
FromValue(int)
create instance of this value from string
Declaration
public static Uint64 FromValue(int v)
Parameters
| Type |
Name |
Description |
| int |
v |
|
Returns
|
Edit this page
View Source
FromValue(string)
create instance of this value from hex string
Declaration
public static Uint64 FromValue(string v)
Parameters
| Type |
Name |
Description |
| string |
v |
|
Returns
|
Edit this page
View Source
ToBytes()
Declaration
public override byte[] ToBytes()
Returns
Overrides
|
Edit this page
View Source
ToJson()
Get the JSON representation of this type
Declaration
public override JsonNode ToJson()
Returns
| Type |
Description |
| JsonNode |
|
Overrides
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
|
Edit this page
View Source
implicit operator Uint64(byte)
create instance of this value
Declaration
public static implicit operator Uint64(byte v)
Parameters
| Type |
Name |
Description |
| byte |
v |
byte value
|
Returns
|
Edit this page
View Source
implicit operator Uint64(ulong)
Declaration
public static implicit operator Uint64(ulong v)
Parameters
| Type |
Name |
Description |
| ulong |
v |
|
Returns
Implements
Extension Methods