Show / Hide Table of Contents

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
Implements
ISerializedType
Namespace: Xrpl.BinaryCodec.Types
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
Type Description
long

Methods

| Edit this page View Source

FromJson(JsonNode)

Declaration
public static Int64Type FromJson(JsonNode token)
Parameters
Type Name Description
JsonNode token
Returns
Type Description
Int64Type
| Edit this page View Source

FromParser(BinaryParser, int?)

Declaration
public static Int64Type FromParser(BinaryParser parser, int? hint = null)
Parameters
Type Name Description
BinaryParser parser
int? hint
Returns
Type Description
Int64Type
| Edit this page View Source

ToBytes(IBytesSink)

to bytes Sink

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
public JsonNode ToJson()
Returns
Type Description
JsonNode
| Edit this page View Source

ToString()

Declaration
public override string ToString()
Returns
Type Description
string
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
Type Description
Int64Type
| Edit this page View Source

implicit operator long(Int64Type)

Declaration
public static implicit operator long(Int64Type v)
Parameters
Type Name Description
Int64Type v
Returns
Type Description
long

Implements

ISerializedType

Extension Methods

StExtensions.ToDebuggedHex(ISerializedType)
StExtensions.ToHex(ISerializedType)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX