Show / Hide Table of Contents

Class Hash192

Represents a 192-bit (24-byte) hash (e.g., MPTokenIssuanceID).

Inheritance
object
Hash
Hash192
Implements
ISerializedType
Inherited Members
Hash.Buffer
Hash.ToBytes(IBytesSink)
Hash.ToJson()
Hash.Equals(Hash)
Hash.ToString()
Namespace: Xrpl.BinaryCodec.Types
Assembly: Xrpl.BinaryCodec.dll
Syntax
public class Hash192 : Hash, ISerializedType

Constructors

| Edit this page View Source

Hash192(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 Source

Width

Declaration
public const int Width = 24
Field Value
Type Description
int
| Edit this page View Source

Zero

Declaration
public static readonly Hash192 Zero
Field Value
Type Description
Hash192

Methods

| Edit this page View Source

FromHex(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
| Edit this page View Source

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
| Edit this page View Source

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

Implements

ISerializedType

Extension Methods

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