Class Vector256
Class for serializing and deserializing vectors of Hash256
Inheritance
System.Object
Vector256
Implements
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Vector256 : List<Hash256>, ISerializedType
Constructors
| Improve this Doc View SourceVector256()
Construct a Vector256
Declaration
public Vector256()
Methods
| Improve this Doc View SourceFromJson(JToken)
Deserialize Vector256
Declaration
public static Vector256 FromJson(JToken token)
Parameters
Type | Name | Description |
---|---|---|
JToken | token | json token |
Returns
Type | Description |
---|---|
Vector256 | Vector256 value |
FromParser(BinaryParser, Nullable<Int32>)
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 |
System.Nullable<System.Int32> | 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 JToken ToJson()
Returns
Type | Description |
---|---|
JToken |