Class Hash160
Hash with a width of 160 bits
Implements
Inherited Members
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Hash160 : Hash, ISerializedType
Constructors
| Edit this page View SourceHash160(byte[])
Defines how to construct Hash from buffer
Declaration
public Hash160(byte[] buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | buffer | bytes buffer |
Methods
| Edit this page View SourceFromJson(JsonNode)
create instance from json object
Declaration
public static Hash160 FromJson(JsonNode token)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonNode | token | json object |
Returns
| Type | Description |
|---|---|
| Hash160 |
FromParser(BinaryParser, int?)
create instance from binary parser
Declaration
public static Hash160 FromParser(BinaryParser parser, int? hint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryParser | parser | parser |
| int? | hint |
Returns
| Type | Description |
|---|---|
| Hash160 |