Show / Hide Table of Contents

Class PathSet

Deserialize and Serialize the PathSet type

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

Constructors

| Edit this page View Source

PathSet(IEnumerable<Path>)

Construct a PathSet from an Array of Arrays representing paths

Declaration
public PathSet(IEnumerable<Path> collection)
Parameters
Type Name Description
IEnumerable<Path> collection

A PathSet or Array of Array of HopObjects

Fields

| Edit this page View Source

PathSeparatorByte

PathSeparator const

Declaration
public const byte PathSeparatorByte = 255
Field Value
Type Description
byte
| Edit this page View Source

PathsetEndByte

PathsetEnd const

Declaration
public const byte PathsetEndByte = 0
Field Value
Type Description
byte

Methods

| Edit this page View Source

FromJson(JsonNode)

Deserialize PathSet

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

json token

Returns
Type Description
PathSet
| Edit this page View Source

FromParser(BinaryParser, int?)

Construct a PathSet from a BinaryParser

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

A BinaryParser to read PathSet from

int? hint
Returns
Type Description
PathSet
| Edit this page View Source

ToBytes(IBytesSink)

to bytes Sink

Declaration
public void ToBytes(IBytesSink buffer)
Parameters
Type Name Description
IBytesSink buffer
| Edit this page View Source

ToJson()

Get the JSON representation of this PathSet

Declaration
public JsonNode ToJson()
Returns
Type Description
JsonNode

Array of Array of HopObjects, representing this PathSet

Implements

ISerializedType

Extension Methods

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