Class Vector256
Class for serializing and deserializing vectors of Hash256
Implements
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Vector256 : List<Hash256>, ISerializedType
Constructors
| Edit this page View SourceVector256()
Construct a Vector256
Declaration
public Vector256()
Methods
| Edit this page View SourceFromJson(JsonNode)
Deserialize Vector256
Declaration
public static Vector256 FromJson(JsonNode token)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonNode | token | json token |
Returns
| Type | Description |
|---|---|
| Vector256 | Vector256 value |
FromParser(BinaryParser, int?)
Construct a Vector256 from a BinaryParser
Declaration
public static Vector256 FromParser(BinaryParser parser, int? hint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryParser | parser | A BinaryParser to read Vector256 from |
| int? | hint |
Returns
| Type | Description |
|---|---|
| Vector256 |
ToBytes(IBytesSink)
to bytes Sink
Declaration
public void ToBytes(IBytesSink sink)
Parameters
| Type | Name | Description |
|---|---|---|
| IBytesSink | sink | bytes Sink container |
ToJson()
Get the JSON representation of this type
Declaration
public JsonNode ToJson()
Returns
| Type | Description |
|---|---|
| JsonNode |