Show / Hide Table of Contents

Class SerializedEnumItem<TOrd>

Inheritance
object
EnumItem
SerializedEnumItem<TOrd>
EngineResult
LedgerEntryType
TransactionType
Implements
ISerializedType
Inherited Members
EnumItem.Ordinal
EnumItem.Name
EnumItem.CompareTo(EnumItem)
EnumItem.ToString()
EnumItem.GetHashCode()
Namespace: Xrpl.BinaryCodec.Enums
Assembly: Xrpl.BinaryCodec.dll
Syntax
public abstract class SerializedEnumItem<TOrd> : EnumItem, ISerializedType where TOrd : struct, IConvertible
Type Parameters
Name Description
TOrd

Constructors

| Edit this page View Source

SerializedEnumItem(string, int)

Declaration
protected SerializedEnumItem(string name, int ordinal)
Parameters
Type Name Description
string name
int ordinal

Fields

| Edit this page View Source

Bytes

Declaration
protected readonly byte[] Bytes
Field Value
Type Description
byte[]

Methods

| 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

Implements

ISerializedType

Extension Methods

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