Class Int64Type
Signed 64-bit integer type for XRPL serialization (type code 11).
JSON representation is a string to avoid precision loss.
Inheritance
object
Int64Type
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Int64Type : ISerializedType
Constructors
|
Edit this page
View Source
Int64Type(long)
Declaration
public Int64Type(long value)
Parameters
| Type |
Name |
Description |
| long |
value |
|
Fields
|
Edit this page
View Source
Value
Declaration
public readonly long Value
Field Value
Methods
|
Edit this page
View Source
FromJson(JsonNode)
Declaration
public static Int64Type FromJson(JsonNode token)
Parameters
| Type |
Name |
Description |
| JsonNode |
token |
|
Returns
|
Edit this page
View Source
FromParser(BinaryParser, int?)
Declaration
public static Int64Type FromParser(BinaryParser parser, int? hint = null)
Parameters
Returns
|
Edit this page
View Source
ToBytes(IBytesSink)
Declaration
public void ToBytes(IBytesSink sink)
Parameters
| Type |
Name |
Description |
| IBytesSink |
sink |
bytes Sink container
|
|
Edit this page
View Source
ToJson()
Get the JSON representation of this type
Declaration
Returns
| Type |
Description |
| JsonNode |
|
|
Edit this page
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
object.ToString()
Operators
|
Edit this page
View Source
implicit operator Int64Type(long)
Declaration
public static implicit operator Int64Type(long v)
Parameters
| Type |
Name |
Description |
| long |
v |
|
Returns
|
Edit this page
View Source
implicit operator long(Int64Type)
Declaration
public static implicit operator long(Int64Type v)
Parameters
Returns
Implements
Extension Methods