Class Hash192
Represents a 192-bit (24-byte) hash (e.g., MPTokenIssuanceID).
Implements
Inherited Members
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Hash192 : Hash, ISerializedType
Constructors
| Edit this page View SourceHash192(byte[])
Defines how to construct Hash from buffer
Declaration
public Hash192(byte[] buffer)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | buffer | bytes buffer |
Fields
| Edit this page View SourceWidth
Declaration
public const int Width = 24
Field Value
| Type | Description |
|---|---|
| int |
Zero
Declaration
public static readonly Hash192 Zero
Field Value
| Type | Description |
|---|---|
| Hash192 |
Methods
| Edit this page View SourceFromHex(string)
Create instance from hex string
Declaration
public static Hash192 FromHex(string token)
Parameters
| Type | Name | Description |
|---|---|---|
| string | token | string hex token |
Returns
| Type | Description |
|---|---|
| Hash192 |
FromJson(JsonNode)
Create instance from json object
Declaration
public static Hash192 FromJson(JsonNode token)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonNode | token | json object |
Returns
| Type | Description |
|---|---|
| Hash192 |
FromParser(BinaryParser, int?)
Create instance from binary parser
Declaration
public static Hash192 FromParser(BinaryParser parser, int? hint = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BinaryParser | parser | parser |
| int? | hint |
Returns
| Type | Description |
|---|---|
| Hash192 |