Class SerializedEnumItem<TOrd>
Inheritance
object
SerializedEnumItem<TOrd>
Assembly: Xrpl.BinaryCodec.dll
Syntax
public abstract class SerializedEnumItem<TOrd> : EnumItem, ISerializedType where TOrd : struct, IConvertible
Type Parameters
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
Methods
|
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 |
|
Implements
Extension Methods