Show / Hide Table of Contents

Class Int32Type

Signed 32-bit integer type for XRPL serialization (type code 10).

Inheritance
object
Int32Type
Implements
ISerializedType
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Int32Type : ISerializedType

Constructors

| Edit this page View Source

Int32Type(int)

Declaration
public Int32Type(int value)
Parameters
Type Name Description
int value

Fields

| Edit this page View Source

Value

Declaration
public readonly int Value
Field Value
Type Description
int

Methods

| Edit this page View Source

FromJson(JsonNode)

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

FromParser(BinaryParser, int?)

Declaration
public static Int32Type FromParser(BinaryParser parser, int? hint = null)
Parameters
Type Name Description
BinaryParser parser
int? hint
Returns
Type Description
Int32Type
| 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 Int32Type(int)

Declaration
public static implicit operator Int32Type(int v)
Parameters
Type Name Description
int v
Returns
Type Description
Int32Type
| Edit this page View Source

implicit operator int(Int32Type)

Declaration
public static implicit operator int(Int32Type v)
Parameters
Type Name Description
Int32Type v
Returns
Type Description
int

Implements

ISerializedType

Extension Methods

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