Show / Hide Table of Contents

Class StArray

Class for serializing and deserializing Arrays of Objects

Inheritance
object
List<StObject>
StArray
Implements
ISerializedType
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class StArray : List<StObject>, ISerializedType

Constructors

| Edit this page View Source

StArray()

Construct an STArray

Declaration
public StArray()
| Edit this page View Source

StArray(IEnumerable<StObject>)

Construct an STArray from an Array of JSON Objects

Declaration
public StArray(IEnumerable<StObject> collection)
Parameters
Type Name Description
IEnumerable<StObject> collection

Array of JSON Objects

Methods

| Edit this page View Source

FromJson(JsonNode)

Deserialize StArray

Declaration
public static StArray FromJson(JsonNode token)
Parameters
Type Name Description
JsonNode token

json token

Returns
Type Description
StArray
| Edit this page View Source

FromParser(BinaryParser, int?)

Construct a StArray from a BinaryParser

Declaration
public static StArray FromParser(BinaryParser parser, int? hint = null)
Parameters
Type Name Description
BinaryParser parser

A BinaryParser to read StArray from

int? hint
Returns
Type Description
StArray
| 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